Action Triggers

The visual Action Triggers editor is a tool for supervisors (or admins) to create and edit rules for automatically triggering actions based on system events. If the system determines that a situation matching the rule (referred to as a “model” in this editor) has occurred, an action is triggered that can affect database data or system behavior.

The editor can be found in FrontStage administration, section Processing ‣ Action Triggers. You need the EditActionTrigger role to access the editor.

The running editor displays a list of all created actions (“triggers”). It is populated by the result of a data query. Its ID is set in the configuration parameter ActionTriggerAdminQueryId.

In the upper right corner there are buttons for interacting with the records:

  • Create - Displays a popup window to create a new action.

  • Delete - Bulk action. Deletes the marked records in the list.

Detail tab

  • ID - GUID, not editable.

  • Group - For categorizing actions.

  • Name - Visible in lists and across the system.

  • Description - Optional, for explaining the purpose of the action.

  • Model

    • The model represents the type of situation in which the action should be triggered.

    • Selection from predefined system options.

    • Specific models are associated with SQL command options (usable database tables and system variables).

    • References for individual models, including explanations of functionality and SQL options, can be found in workflows.

  • Suspended - If active, the action will not be triggered.

  • SQL Command - When the action is triggered, this command is executed on the database. Possible values are closely related to the selected model, see workflows.

  • Workflow - If a specific workflow is selected, the action is executed within its context.

  • Soft Script - When the action is triggered, an associated script can also be executed.

../../_images/trigger-detail.en.png

Note

Depending on the selected model, some editor elements may appear or be hidden, such as the time input component.

../../_images/trigger-editor-options.en.png