Administration Guide › Policy Xpress › How Policy Xpress Works
How Policy Xpress Works
When a trigger (tasks, events, business logic task handlers, and workflow) happens, Policy Xpress is activated and the following steps occur:
- Policy Xpress checks activation times (Events) to see if there is a policy that should run at that particular time.
- A list of policies is generated.
- Policies are ordered based on priority, and Policy Xpress evaluates policies as follows:
- All required values (Data) are calculated.
- Entry rules are checked to see whether the policy should run.
- If the entry rules allow the policy to run, all action rules are checked for matches.
- For the matching action rule with the highest priority, the add actions for that rule are executed.
- For any action rule that previously matched but no longer matches, remove actions are executed.
- Once the policy completes, information about the policy that ran is saved on the user object (even if the policy made no changes).
- Appropriate events related to the action rules are generated. For example, if the policy modifies a user, the ModifyUserEvent is generated.
- The next policy is loaded.
Note: The previous flow can be changed using action rules. For more information about changing the flow of Policy Xpress, see Flow Control.
More Information:
Flow Control