Option Pack › Creating Policies with Policy Xpress › How Policy Xpress Works
How Policy Xpress Works
When a trigger (attributes, events, workflow, and Business Logic Task Handlers currently) occurs, Policy Xpress is activated and the following steps occur:
- Policy Xpress checks activation times 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 goes through them one by one, as follows:
- All required data elements 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.
- If an action rule is matched, the Add Actions for that rule are executed. All other rules which previously matched execute their Remove Actions.
- Actions are performed in order of priority.
- Once the policy completes, the data is saved in the user record.
- The action commits where needed and the next policy is loaded.
Note: This flow may change based on some actions.
Copyright © 2009 CA.
All rights reserved.