Creating a Page Flow Master Script

You must customize each page flow script to the associated page flow.

To create a custom page flow script

  1. Make a copy of the universal script.

  2. Create a new name for the copy that accurately identities. For example, ACA TN ASI Before, where:

    • ACA – indicates where the script runs

    • TN – is the page flow

    • ASI – is the page flow step

    • Before – is the event type (eg. Onload, After, Before)

  3. Open the script in a text editor.

  4. Update the controlString variable to match the name (Updating the controlString).

    Figure: Updating the controlString

  5. Install the script (Managing Scripts). Save the script with the same name as the controlString variable set in the previous step.

  6. Log in to Citizen Access Admin.

  7. Navigate to the proper page flow and page flow step.

  8. Associate the newly added script to the proper event (Associating a script to an Citizen Access Page Flow event).

    Figure: Associating a script to an Citizen Access Page Flow event

  9. Create the standard choice entry point with the same name as the controlString variable.

  10. Write appropriate script controls that interact with information stored in memory for the capModel object.

Join the conversation in the Accela Community for additional articles and discussions about Citizen Access Page Flows: