Submit registration after scripting information
Your agency may want to customize which license types require agency activation. For example, an agency may want all plumbing licenses automatically activated when the plumbing licenses are added to a public user. If, however, the license is not a plumbing license, it follows default behavior to require the agency to activate it.
To set up this functionality, you must define a script and bind to the RegistrationSubmitAfter event to auto-activate the licensed professional type. The script must have logic to determine the license type and then use the isContinue and PA_EMAIL_VERIFICATION settings to determine auto-activation.
| Option name | Option description |
|---|---|
|
PA_EMAIL_VERIFICATION |
If set to N, no email notification is sent and ALL of the registered accounts are automatically activated. If set to Y, using the RegisterSubmitAfter script, some licensed professionals can be automatically activated or go to an inactive (or pending) state based on the isContinue. |
|
“isContinue” |
This is the output environment variable. The value is 0 or 1. If set to 0, the Citizen Access account is deactivated and Civic Platform sends an "inactive" email to the registered user and an “activation required” email to the agency employee. If set to 1, the Citizen Access account is automatically activated and Civic Platform sends the “activation” email to the registered user. |