AutoBridge

Troubleshoot Permit Automations

Use this guide when a permit automation did not run, ran more than once, or ran but left the record in the wrong state. Every check below uses screens an administrator can see: the automation list, the automation editor, Run history, and the record itself.


Prerequisites

  • A role that can view and edit automations.
  • The name of the automation you expected to run, or the permit type and workflow step.
  • The affected record and roughly when it was created or changed.

Steps

1

Check the automation is active and published

In the Automation list, the Status column shows Active or Inactive. Open the automation with Configure. If the unpublished-changes banner is showing, your latest edits are not live yet; select Publish.

2

Look for the run

Select History, then Run history, and refresh. Filter by Status or by Before a date and time to find the moment the record changed.

3

If there is a run, expand it

Find the step marked Failed and read its Error message, or the step marked Skipped. The steps before it ran; the steps after it did not.

4

If there is no run, compare conditions to the record

Open the trigger and read each condition. Then open the record and compare field by field: the entity the trigger watches, each routing value, and the duplicate guard field.

5

Fix, publish, and retest

Make the change, select Publish, and retest with a fresh test record. See Test a Permit Automation.


Symptom, cause, fix

SymptomLikely causeFix
Nothing happened and there is no runThe automation is InactiveTurn on Activate Automation or use Toggle Status in the list
Nothing happened, and your recent edits are missingEdits were saved but never publishedSelect Publish on the unpublished-changes banner
No run for a record that looks rightA routing condition does not match (for example, the record is Commercial but the condition is Permit Category is Residential)Correct the record or widen the condition with is any of
No run, and the guard field already has a valueThe guard (for example, Plan Review Status is empty) is doing its job: this step already ran onceOn a test record, clear the guard field and save again. On a live record, confirm the step really needs to run again before clearing it
No run, and the trigger is on the wrong entityThe trigger is set to a different entity (for example, Electrical Permit instead of Building Permit)Select the correct entity in the trigger and rebuild its conditions
Never fires when a field is filled in laterThe trigger is When record is created, which only runs once when the record is first savedUse When records matches condition with a guard instead
Stopped matching after someone edited a dropdownConditions keep a copy of the field as it was when the condition was saved. A renamed, re-added, or newly added option is not picked upOpen the condition, reselect the value from the current list, and publish. Edit dropdown options in place; never delete and recreate an option that records or conditions use
Ran twice, duplicate review tasksThere is no guard condition, so every edit of the record matches againAdd a condition that the step's status field is empty
Ran twice even with a guardThe Update Record step does not set the same guard field, or it runs after Create RecordsMake the first action an Update Record that sets the guard field (for example, to Pending), then Create Records
Two of everything, from two automationsA copy made with Duplicate, or an older version of the same step, is also activeCheck the folder for automations with the same trigger and turn off the extra one
Review task created, but the parent status did not changeThe Update Record step failed or targets a different fieldExpand the run, read the step's Error, and check which field the step writes
A step was completed, but the next step never startedThe next automation expects a different value (for example, it accepts Approved but the reviewer chose Approved with Conditions)Change the next automation's condition to is any of every completion value your agency uses
All parallel reviews are done, but the next stage never startedThe "all reviews complete" automation still checks a department that no longer gets a review task, or is missing one that does, or does not accept Review Not RequiredSee Change Which Reviews a Permit Requires
Fired on the wrong permit typeA routing condition is missing, so any record on the entity matchesAdd every routing condition (for example, both trade and category) and publish
Email was not receivedThe record has no email in the field the Send Email step uses, or the message went to spamCheck the Send Email step badge in the run, then the email on the record or linked contact
Activate Automation cannot be turned onA trigger or action is not configured, or you lack edit permissionHover the switch to read the reason; finish the empty step or ask an administrator

Turning an automation off stops future runs only. Records it already changed stay changed; correct them by hand.


Example

A Residential Electrical Permit was approved at intake, but no issuance review task appeared.

CheckFinding
Automation statusActive, no unpublished-changes banner
Run historyNo run at the time of approval
Trigger conditionsTrade Type is Electrical, Permit Category is Residential, Intake Review Status is Approved, Issuance Review Status is empty
Record valuesElectrical, Residential, Intake Review Status Approved with Conditions
CauseThe condition accepts only Approved
FixChange it to Intake Review Status is any of Approved, Approved with Conditions, then Publish

Common mistakes

  • Editing and testing without publishing in between.
  • Clearing a guard field on a live record to "rerun" a step, which can create duplicate tasks.
  • Changing a dropdown's options without reviewing the automations that use that field.
  • Deleting an old automation before confirming nothing else depends on the status it set. Turning it off is reversible; deleting is not.

Related guides