In the Event Action Properties window, users can create a new event action for the application.

  1. Name: This is a text field that allows users to input the name of the event action. It is a mandatory field.
    • There are the following rules determining the validity of names:
      • A valid name can contain letters, numbers, and the underscore symbol. It cannot, however, contain spaces or other special characters. It also cannot begin with a number.
      • An event action must have a unique name. It cannot have the same name as another event action in the program.
  2. Title: This is a text field that allows users to input the title of the event action.
    • Unlike with names, there are no guidelines determining the validity of titles.
  3. Active: This is a checkbox which, if selected, allows users to mark the event action out as active.
  4. Entity: This is a single-select dropdown field that retrieves the list of entities (from the Entity Designer section of the Entities module). It allows users to select the entity associated with the event action.
  5. Scope: This table displays all defined events in the application (as retrieved from the Events section of the Processes module). It allows users to assign a scope to the event action.
    • To select a scope from the table, double-click on it.
      • When a scope is selected from the table, the associated access name will automatically populate the Event Name field.
    • Assigning a scope to an event action is optional. If a scope is assigned, the action will execute automatically when the corresponding event occurs. If not, the action must be executed manually.
  1. Event Name: When a scope is selected from the table, the associated access name will automatically populate this field.
    • To remove the event name, click on the button.
  2. Process: This is a single-select dropdown field that retrieves the list of processes (from the Process Design section of the Processes module). It allows users to select the process during which the event action will be executed.
  1. Process Version: This is a single-select dropdown field that displays the list of versions associated with the selected process. It allows users to select the version of the process during which the event action will be executed.
    • Depending on the process selected, the process versions displayed in this dropdown may vary.
      • If -1 is selected as a process version, the event action will be executed in all versions of the selected process.
  1. State Name: This is a single-select dropdown field that displays the list of states in the selected process. It allows users to select the state during which the event action will be executed.
    • Depending on the process and process version selected, the states displayed in this dropdown may vary.

Event Action Execution:

Event Process Version State Outcome
Event Any Any (-1) Any The event action will be triggered for all processes and states (associated with the chosen entity)
Event Specific Process Any (-1) Any The event action will be triggered for only one process, but in all versions and states
Event Specific Process Specific Version Any The event action will be triggered for only one version of a particular process, but in all states
Event Specific Process Any Specific State The event action will be triggered for only one state of a particular process
Event Specific Process Specific Version Specific State The event action will be triggered for a specific state in a particular version of a particular process