Configuring Triggers
Triggers are non-interactive system responses to events in Alloy Navigator.
You configure Triggers for a particular object class in the Workflow and Business Logic > [Module] > [Object Class] > Workflow > Triggers section.
There are three types of Triggers:
-
"On Condition" Triggers fire when existing objects satisfy a specified condition. Alloy Navigator checks this condition at specific times. You may set a schedule to determine when or how often the condition is checked or configure Alloy Navigator to check the condition whenever an object is created or modified. These Triggers do not run on inactive objects, i.e. objects in "Closed," "Retired," or "Inactive" status.
-
"On Created/Modified" Triggers fire when an object is created or modified. Unlike "On Condition" Triggers, that check their condition after the object has been saved, "On Created/Modified" Triggers fire before the new data is saved into the database.
-
"On Delete" Triggers fire when an object is deleted.
NOTE:: Alternatively, you can create and modify Triggers assigned to a specific Process in the Workflow and Business Logic > Advanced > Processes > [Process] section. For details, see Grouping Actions and Triggers into Processes.
To configure a Trigger:
-
In the list of Triggers of a particular type, click New. The Trigger [Type] [ID] window opens. If you want to base the new Trigger on an existing one, select the source Trigger and click Copy Item.
-
On the Programming tab, specify the operations to be executed when this Trigger fires:
-
On the Processes tab, you can assign the Trigger to Processes based on its usage:
-
Click OK.
TIP:For On Condition Triggers that check the condition regularly:
You can view statistics on competed Trigger sessions on the Sessions tab. For details, see Viewing On Condition Trigger sessions.