If

Conditionally performs a set of actions.

Fields

If Conditions

Specify the desired condition.

Then Perform Actions

Specify the desired actions, if the conditions are True.

Else Perform Actions

(Optional) Specify the desired actions, if the conditions are False.

Example

During an Add or Modify operation, if the attribute of Title equals manager, the user object is added to the ManagerGroup group. If the Title does not equal manager, then the user object is added to the UsersGroup group. To view the policy in XML, see if.xml.

Policy for adding users to a group if their title is manager
If

When you create the if action, you must add a condition and one action. In this example, there are two separate actions. The condition is if a user object has the title of manager.

Condition is if the operation attribute of Title equals manager

The action is to add the user object to the ManagerGroup group.

The action adds the user object to the ManagerGroup group

If the title does not equal manager, the user object is placed in the UsersGroup group.

The actions adds the user object to the UsersGroup