AutoBridge

Close, Expire, and Renew Permits

A permit's life does not end at issuance. After the final inspection passes it should be closed, a permit whose work never finishes may need to expire, and licenses need renewing. This guide covers the statuses that end a permit, the automations that set them, and how renewals work.

Prerequisites

  • Permission to edit the permit entity's fields and to create automations. See Set Up Roles for Permitting Staff.
  • An expiration date field on the permit if permits should expire (for example Permit Expiration Date, a date field in the Key Dates section).

How the portal treats a finished permit

The Citizen Portal recognizes a set of closeout status names. When a permit's Application Status is one of them, the portal hides Continue Application and Schedule Inspection for that record, so the applicant is not offered an action that no longer applies. Matching ignores capitals and extra spaces.

Kind of endingStatus names the portal treats as finished
Completed workCompleted, Closed, Finaled, CO Issued, Certificate of Occupancy Issued, Certificate of Completion Issued
Ended earlyCancelled, Canceled, Application Cancelled, Permit Cancelled, Withdrawn, Void, Voided
Not allowed to continueExpired, Denied, Revoked

For records that use a Case Status instead, such as complaints and code enforcement cases, the finished values are Closed, Case Cancelled, Resolved, Unfounded, and Code Violation No Action.

Use one of these names

The starter Application Status list does not include a closeout status. When you add one, use a name from the table above. A closeout status with any other name, such as Done, still shows the applicant Continue Application and Schedule Inspection. Issued is deliberately not a finished status, because inspections are scheduled against an issued permit.

Steps

1

Add the closeout statuses

Open the permit entity in the Entity Builder, edit Application Status, and add the endings your process uses, for example Completed, Expired, and Withdrawn. Add options rather than renaming existing ones; automations and views match on the existing values. See Edit Option Lists.

2

Close the permit when the final inspection passes

Create an automation on the On Appointment Change trigger with Appointment Search Conditions of Appointment Status Equals Completed (and Calendar Id for the discipline's calendar). Use Find Records and IF/ELSE Conditions to confirm, from your inspection record's fields, that it was the final inspection and that it passed. In that branch add an Update Record that sets the permit's Application Status to Completed and a Send Email to the applicant. If your agency issues a certificate at closeout, add Generate PDF before the email. Staff can also set the status by hand on a staff update form.

3

Expire permits that are not finished

For an expiration date on each permit, add an automation that starts when the date is set, uses a Wait Action with Wait Mode Date Field on the expiration date, checks with IF/ELSE Conditions that the permit is still open, and then sets Application Status to Expired. Add an earlier wait and Send Email to warn the applicant first. The starter status About to Expire can mark permits in that warning period.

For a rule that is not tied to one date, use At a scheduled event (for example daily), Find Records for permits that meet your expiration rule, and a Repeating Group that updates each one. See Send a Reminder Before Expiration.

4

Extend a permit

To give a permit more time, staff change the expiration date on a staff update form. If the waiting automation's Wait Action has Verify on wake turned on, the wait moves to the new date, so the permit does not expire on the old one. See Add a Wait Step to an Automation.

5

Renew licenses

Licensed professionals renew from their portal profile with Renew a License. The renewal arrives as a License Requests record of type Update; when staff set it to Active, GovAssist updates the existing Professional Licenses record. See Licensed Professionals.

6

Test each ending

On a test permit, pass a final inspection and confirm the status changes and the portal no longer offers Schedule Inspection. For expiration, test with a short Fixed Duration wait in a test environment, then switch back to the date settings. Check Run history for each run.

Example

SettingElectrical Permit
New statusesCompleted, Expired, Withdrawn
Closeout automationOn Appointment Change with Appointment Status Equals Completed; IF/ELSE Conditions confirm the final inspection passed; then Update Record Application Status = Completed, Send Email to the applicant
Expiration datePermit Expiration Date, set when the permit is issued
WarningWait Action 30 days Before the expiration date, Send Email, Application Status = About to Expire
ExpirationWait Action On the expiration date, IF/ELSE Conditions Application Status is not Completed, Update Record Application Status = Expired
ExtensionStaff edit Permit Expiration Date; Verify on wake is on

Common mistakes

  • Naming the closeout status something the portal does not recognize, so finished permits still offer inspections.
  • Expiring a permit that already passed its final inspection. Always check the current status after a wait.
  • Turning off Verify on wake, so an extended permit still expires on its original date.
  • Using Issued as the final status. Issued permits stay open for inspections by design.

Related guides