You can set a number of conditions for a rule to determine whether the rule is processed or not. For example, you can set a particular command as a condition, and only process the rule if a user enters that command.
There are two ways of setting conditions for a rule:
Dragging and dropping an entity onto the rule.
Using the Edit Condition option, as described in the steps below.
NOTE:When you drag and drop an entity onto a rule, you might need to edit the condition to ensure that the condition logic is what you want. If you want to use a script in rule conditions, you must set it to Conditional first (see Modifying a Script).
To set conditions by using the Edit Condition option:
On the home page of the console, click Command Control.
In the Command Control pane, click Rules.
Select the rule for which you want to set conditions.
In the details pane, select the currently defined condition then click Edit Condition.
If you have not yet defined a condition, select Match All
In the Add Condition drop-down list, select the type of condition you want.
Set the condition to the value and logic you want. For example, if you set a condition to match a run user to a user group:
Change user (submit user) to run user.
Leave the logic setting as IN.
Select the user group you require from the user group drop-down list.
Repeat Step 5 and Step 6 for any other conditions you want. Set the condition logic as necessary.
You can use parentheses to group conditions according to the necessary logic by selecting the parentheses ( ) entry from the Add Condition drop-down list. The opening and closing parentheses are displayed.
Select the opening parenthesis.
Select the condition type you want to place inside the parentheses and set it as necessary.
Select the opening parenthesis again.
Select another condition type to place inside the parentheses and set it as necessary.
If necessary, change OR to AND.
Repeat Step 7.d through Step 7.f for any other conditions you require inside this set of parentheses. You can also place parentheses within parentheses.
Click Finish.