Using Conditions

Conditions allow you to define more narrowly the trigger for an Event Rule. Conditions are optional; you do not have to define a Condition on an Event Rule to make it trigger an Action, but Conditions allow fine control over when an Action can take place.

You can further fine-tune each Event trigger to execute only if certain Conditions are met. These optional Conditions act like filters or compound IF statements so that IF a specific Event occurs and IF a Condition is met, then an Action is executed. For example, an Event trigger that is called whenever a file is uploaded can be fine-tuned to trigger only if that file’s extension is .txt and nothing else.

To add a Condition to a Rule

  1. Create the Rule. In the Conditions list, the Conditions available for the selected Event appear. When applicable to the Rule, the Else option also appears.

  2. Double-click a Condition in the list or click the Condition, and then click Add Condition.

  3. Complete the Rule by adding one or more Actions, and then click Apply to save the Rule.

Conditions are NOT REQUIRED for an Event Rule to work. In its base form, the Event trigger itself is a sort of Condition, therefore you can execute Actions when/if an Event triggers, without adding any additional Conditions.

Conditions are organized by type:

Each of the available Conditions and which Events they can be used with is described above. There are no Conditions available for the Site Stopped or Site Started Events.

Related Topics