Assign conditions to records
You can define a script and associate it with the ApplicationSubmitAfter event, so when a public user creates a record, the ApplicationSubmitAfter event can assign conditions to the record.
To enable assigning conditions to records by EMSE
-
Configure the standard choice ACA_CONDITION_AGENCY_USER and set the standard choice value to a valid department name.
Note: This standard choice value defines a department which public users belong to.For complete information on configuring a standard choice, refer to the Accela Civic Platform Configuration Reference.
-
Reference the getDeptforPublicuser.txt sample script to proceed with writing a script that sets the department name for the public user by reading from the standard choice ACA_CONDITION_AGENCY_USER.
Note: Only Accela Delivery team members or system administrators who are trained in performing agency-wide functions should customize the event scripts. For further information on working with scripts, refer to the Civic Platform Scripting Guide. -
Continue the script-writing by adding scripts that assign conditions to records.
-
Assign the scripts to the ApplicationSubmitAfter event which relates to Citizen Access.