AutoBridge

Test an Automation and Read Run History

Every time an automation runs, GovAssist records the run and the result of each step. This guide shows how to test a new automation with a sample record and how to use Run history to confirm it worked or find out why it did not.


Prerequisites

  • A test environment where you can create sample records without affecting real applicants.
  • The automation is configured and activated in that environment. Automations only run while active; there is no separate test button.
  • A role with Automation View permission to see run history.

Steps

1

Prepare a sample record

Decide what record or event will start the automation, for example a test Building Permit with Status set to Approved. Use a test email address you can check for any email steps.

2

Cause the trigger

Create, update, or submit the record so it matches the trigger and conditions. For a scheduled automation, set a Start Date and Time a few minutes ahead.

3

Open the run history

Open the automation, click History in the page header, and stay on the Run history tab. Click the refresh button to load new runs. Each run is listed with its date and time and a status.

4

Expand the run

Click a run to see every step in order with its own status. A failed step shows an Error box with the reason.

5

Check the result in the record

Open the sample record and confirm the fields, new records, files, and emails are what you expected.

6

Test the repeat case

Save the sample record again without changing the trigger field. Confirm the automation did not run a second time, or that a second run did nothing harmful.


Run statuses

StatusMeaning
Successfully runEvery step that was supposed to run finished
Failed to runA step failed. Expand the run to see which step and the error
Running...The run is still going, for example during a Wait Action
PendingThe run is queued and has not started
CancelledThe run was stopped, for example a wait cancelled because the record was deleted or its date changed
SkippedThe run, or a step in it, did not apply. Steps on IF/ELSE branches that were not taken show as skipped

Filter the list

Click the filter button to filter by Status (All, Success, Failed, Cancelled, Skipped) and to show runs Before a date and time.


Troubleshooting

SymptomLikely causeWhat to check
No run appearsThe automation is inactive, the trigger did not happen, or the conditions did not matchStatus is Active; Entity selection is the right entity; Watching Fields includes the field you changed; condition values match the record exactly
No run appears after you edited the automationYour changes are an unpublished draftLook for the unpublished changes banner and click Publish
The automation runs on every saveA When records matches condition trigger without a run-once guardAdd a guard condition and set the guard field in the first action
A step failed with a missing recordRecord Id points to the wrong step or is emptyRe-select Record Id with +
An email arrived with missing detailsThe inserted field was empty on the recordMake the field required on the form, or add a condition that it is not empty
A reminder went out on an old dateVerify on wake was offTurn on Verify on wake in the Wait Action

Name every step clearly

Run history shows each step by the Name you gave it. Names like "Set status to Under Review" make failures much faster to find than "Update Record".


Example

Testing a "Plan Review assigned" automation on a test Commercial Building Permit:

CheckResult
Set test permit Status to SubmittedOne new run, Successfully run
Expand the runTrigger, Update Record (guard), Create Records (Plan Review), Send Email: all succeeded
Open the permitA linked Plan Review exists and the guard field is set
Save the permit againNo new run, guard condition holds

Common mistakes

  • Testing in a live environment with real applicant email addresses.
  • Reading "no runs" as "the automation is broken" before checking that it is Active and published.
  • Testing only the first run. Always save the record a second time to prove the automation does not repeat.

Related guides