Executing 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.

USE CASE: 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. Locate the audit set for which you want to execute a script.

    1. Navigate to the Sets portlet.

    2. Click the Random Audit tab.

    3. In the list of audit sets, click the link to the set you want under the Set ID column.

      Civic Platform displays the random audit set list portlet and detail portlet.

  2. In either the Set or Set Member tab, hover over Execute Script to display a list of scripts.

  3. Click the name of the script you want to execute.

    The script executes on the audit set.