Execute a script on an audit set

After you have a set of records or inspections that match your audit set parameters, you can execute scripts on the set of items.

Example: You run a random audit on all inspections that external inspectors completed in the past month and you want to schedule a surprise inspection on each randomly-selected inspection. Your agency defines an EMSE script to generate surprise inspections based on the results of the random audit. The surprise inspection is a regular inspection in Civic Platform, and it is a child inspection of the audited inspection. If the surprise inspection type’s setting Display in ACA is set to Yes, external inspectors can see the surprise inspection from the new inspection list in Citizen Access.

Note: Your agency administrator must configure EMSE scripts that you can execute on an audit set. Contact your agency administrator with any questions about the scripts available for random audits.

To execute a script on an audit set

  1. From the Sets page, select the Random audit tab. .

  2. Open the audit set.

  3. In either the Set or Set member tab, hover over Execute script to display a list of scripts.

  4. Select the name of the script you want to execute.