Skip to content

Automations

Test run and history

Try an automation against real data before it runs, read what every run did step by step, and find out why an automation paused and how to switch it back on.

For
EveryoneAdmins
Time
8 min

Every automation has three tabs: Edit, Test run and History. The test run shows what the automation would do before it does anything. The history shows what it did, every run and every step.

Open Test run and click Start test run. nexxus tries the automation as it stands in the form, unsaved changes included, against your real data. Nothing is saved or changed:

  • Run an action only passes the pre-check, the same checks the action would pass for real.
  • Notify and Send mail only prepare their message. Nobody gets anything.
The test run of the automation Critical security incident: it would have run 3 times in the last 7 days, the steps for three incidents and the notification that would go out
Every step shows test. Below the steps, the notifications that would go out, with their title and text.

What the result shows depends on the trigger:

TriggerThe first line says
A record is createdhow often it would have run in the last 7 days
A record is changedthe same, as an upper bound: At most this often: the test run cannot see whether the field changed.
A condition holds, every recordhow many records match right now
A condition holds, countRight now it is 4.
On a schedule with a sourcehow many records match right now

Below that, How the steps ran shows each step for up to three matching records, and These notifications would go out lists every notification with its recipient, title and text. Without records, for a schedule without a source or a count, the steps run once without one.

If a step would fail, the test says It does not run like this and quotes the reason. Change the form and click Again. Once you change the form after a test, the result says The form has changed since the test run.

Some things the test cannot show:

  • Results of earlier steps. Nothing is created, so {{step2.id}} has no value yet. Fields that use it are left out of the pre-check.
  • One notification per record. The preview gathers the sample records as if they came in one run. A record trigger starts one run per record and notifies once for each.
  • Counting is capped at 1,000. Above that the result says Counted up to the test run’s limit; there may be more. A source without a timestamp cannot be counted by date: This source has no timestamp; counted is what matches now.

History lists the latest runs, newest first: The latest runs with the result of each step. Kept for 90 days. nexxus keeps up to 500 runs per automation. Reload fetches new ones.

Each run shows:

  • its status, when it started and its number (#5),
  • what triggered it, for example „P04-001 – Lagerplanung Hansa“ geändert (Ampel) (changed, field Ampel); this line comes from the server and is in German for now,
  • how many records it covered, and triggered by run #12 when another automation’s run caused it,
  • for a failed or skipped run, the reason,
  • every step that ran, with its number, its status and what it did.
Three runs of the automation Project status changes, each with If / else steps and which branch they took
The steps of a branch that did not run are missing. Run #3 went through Then (steps 1 to 3), runs #4 and #5 through Else (steps 1, 4 and 5).
StatusMeans
succeededevery step ran. What the steps did is in effect: notifications sent, records created or changed.
faileda step failed. The run stopped there, and nothing of it took effect.
skippedthe run did not start, for a reason nexxus checks before the first step. The reason is shown.
runningthe steps are running right now.

A failed run is all or nothing. The steps before the failed one show succeeded, because they did their part, but the run is rolled back as a whole: no notification goes out, no mail is sent and no record stays changed. Fix the cause and the next run does everything. The one exception is an action that writes to another system, through a connector for example: what it already sent out cannot be called back.

Two runs of the automation Critical security incident: run #2 succeeded with three steps, run #1 failed at step 2 with the message Priorität 'HIGH' gibt es nicht
Run #1 failed at step 2 because the priority was written in capitals. Run #2 ran after the fix and did all three steps.

A change that does not match Only if leaves no entry. The history only lists runs. If you expected a run and see none, check the condition, and check whether the person the automation runs as may read the record.

Reason shownWhat happened
Von einem eigenen Lauf ausgelöst.The change came from this automation’s own run. An automation does not trigger itself.
Die Kette aus Automationen endet nach 3 Gliedern.Three automations triggered each other in a row. The fourth does not run.
Mehr als 60 Läufe in einer Stunde. …The limit Maximum runs per hour was reached. The automation pauses.
Ein Lauf träfe 120 Datensätze, und die Automation ändert Daten oder schreibt Mails. …A single run would have covered more than 50 records with an action or a mail among its steps. The automation pauses.
Die Person, der die Automation gehört, gibt es nicht mehr oder sie ist deaktiviert.The person it runs as is gone. The automation pauses.

nexxus pauses an automation instead of letting it run wild. A paused automation is switched off, the list shows it as paused, and the editor names the reason at the top, below Runs as: Paused: …. The error of the last failed run shows there too.

ReasonWho is told
more runs in one hour than Maximum runs per hour allows (60 unless set otherwise)the person it runs as, in the bell
one run would cover more than 50 records, and the steps change data or send mailthe person it runs as, in the bell
five runs in a row failed: 5 Läufe nacheinander gescheitert, zuletzt: …the person it runs as, in the bell
the person it runs as was deactivated or deletedeveryone with the permission automation.manage, for tenant automations

The notification is titled with the name of the automation and angehalten (paused), and links to it.

A paused automation never switches itself back on. Fix the cause first: narrow the condition, raise the limit, correct the failing step, or pick another person under Runs as. Then switch on Switched on and save. The count of failed runs starts again at zero, and a trigger A condition holds takes stock afresh, so what matches at that moment does not fire.