Using Active Action Scripts
General Rules
Active action scripts can be used both in Workflow transitions. For more information on setting up Workflow and adding active actions to it, see here. How an action is executed in the context of Workflow is determined by several parameters:
- Execution stage (
Primary Actions
orOther Actions
) - Number of incidents (one or more). If there are more than one incident, the
Group Incidents
parameter can be used to execute the action for a group of incidents at once.
Primary Actions
Primary actions are executed before the incident status is changed or aggregated. In such actions, the fields of the passed entity can be modified using scripts. The Group Incidents
parameter does not work for such actions, and the action is executed separately for each entity.
Other Actions
Other actions are executed after the incident status is changed or aggregated. In such actions, the fields of the passed entity cannot be modified using scripts. The Group Incidents
parameter is available for such actions. Thus, these actions can be executed either once for all entities or separately for each one.