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
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.
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.
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.
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.
Fix, publish, and retest
Make the change, select Publish, and retest with a fresh test record. See Test a Permit Automation.
Symptom, cause, fix
| Symptom | Likely cause | Fix |
|---|---|---|
| Nothing happened and there is no run | The automation is Inactive | Turn on Activate Automation or use Toggle Status in the list |
| Nothing happened, and your recent edits are missing | Edits were saved but never published | Select Publish on the unpublished-changes banner |
| No run for a record that looks right | A 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 value | The guard (for example, Plan Review Status is empty) is doing its job: this step already ran once | On 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 entity | The 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 later | The trigger is When record is created, which only runs once when the record is first saved | Use When records matches condition with a guard instead |
| Stopped matching after someone edited a dropdown | Conditions 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 up | Open 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 tasks | There is no guard condition, so every edit of the record matches again | Add a condition that the step's status field is empty |
| Ran twice even with a guard | The Update Record step does not set the same guard field, or it runs after Create Records | Make the first action an Update Record that sets the guard field (for example, to Pending), then Create Records |
| Two of everything, from two automations | A copy made with Duplicate, or an older version of the same step, is also active | Check the folder for automations with the same trigger and turn off the extra one |
| Review task created, but the parent status did not change | The Update Record step failed or targets a different field | Expand the run, read the step's Error, and check which field the step writes |
| A step was completed, but the next step never started | The 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 started | The "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 Required | See Change Which Reviews a Permit Requires |
| Fired on the wrong permit type | A routing condition is missing, so any record on the entity matches | Add every routing condition (for example, both trade and category) and publish |
| Email was not received | The record has no email in the field the Send Email step uses, or the message went to spam | Check the Send Email step badge in the run, then the email on the record or linked contact |
| Activate Automation cannot be turned on | A trigger or action is not configured, or you lack edit permission | Hover 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.
| Check | Finding |
|---|---|
| Automation status | Active, no unpublished-changes banner |
| Run history | No run at the time of approval |
| Trigger conditions | Trade Type is Electrical, Permit Category is Residential, Intake Review Status is Approved, Issuance Review Status is empty |
| Record values | Electrical, Residential, Intake Review Status Approved with Conditions |
| Cause | The condition accepts only Approved |
| Fix | Change 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.