Add an Action

Rules can have many actions. Although these actions appear to execute sequentially, they execute in parallel, which can lead to unpredictable behaviour.

You can add one or more actions as a part of Rules. Select the action you want a rule to perform when meeting rule criteria.
Note: The list of actions that are available in the Action list depends on the device or devices to which this rule applies. If you select devices of different types, actions common to all selected device types are displayed.
For example, the following enrollment rule has two actions: Check In and Set State.

Rules with multiple actions run in parallel

In the preceding scenario, you cannot predict which action executes first because both actions execute parallelly.

For example, let’s consider a compliance rule being evaluated along with the above enrollment rule that states when Device State is Yellow, Set Compliance Status to Non-Compliant. This compliance rule evaluates unpredictably with the enrollment rule, and one of the following two cases could occur:

Unpredictable results occur when multiple rules evaluate in parallel

The compliance check evaluates unpredictably and either one of the following outcomes can occur:
  • Case 1: If A evaluates after B, the device is compliant.
  • Case 2: If B evaluates after A, the device is non-compliant.