If Actions and Else Actions
You can include any action type in the If Actions or Else Actions of a workflow object. For active links and filters, the If Actions and Else Actions act on the current request. For escalations, the If Actions run on all the matching requests in the form. Escalation Else Actions run once with no associated request. In this case all fields are NULL when the escalation starts.
For any active link, filter, or escalation, you must define at least one If Action. Else Actions are optional. You can define a maximum of 25 If Actions and 25 Else Actions in any workflow object. On the If Actions and Else Actions panel headings, the number in parentheses shows how many actions are defined. For example, the following figure shows three If Actions and no Else Actions defined in an active link.
Execution conditions and qualifications are always either true or false, so you cannot run a combination of If and Else actions together in the same active link, filter, or escalation.
If Actions and Else Actions panel headings
Use case scenarios
If actions execute when the qualification is met as can be seen in the following use case scenarios:
- An active link qualification checks for membership in an access control group for the user name in the Submitter field. If the user is a member of the group, the If action allows access to a field.
- A filter qualification looks for "hardware" in the Problem Type field and, if found, the If action assigns the request to a hardware support person.
- An escalation qualification looks for any requests more than two hours old that have "New" in the Status field and if found, the If action assigns the matching requests to a manager.
Else actions are optional. They execute when the qualification is not met as can be seen in the following use case scenarios:
- An active link qualification checks for membership in an access control group for the user name in the Submitter field and, if not found, the Else action denies access to a field.
- A filter qualification looks for "hardware" in the Problem Type field, and, if not present, the Else action assigns the request to a software support person.
- An escalation qualification looks for any requests more than two hours old that have "New" in the Status field. If none are found, the Else action sends an email notification reporting this fact to a shared status log account.