Exiting a Gosu rule
At some point in the rule decision tree, PolicyCenter makes the decision that you want. At this point, it is important that PolicyCenter not continue to execute the remaining rules in the rule set. Indeed, if rule checking did continue, and if PolicyCenter processed the rule set default rule, it might overwrite the decision that came earlier. Therefore, you need to be able to instruct PolicyCenter at what point to stop considering any further rules.
- Exit – Stop everything! I am done with this rule set.
The following list describe the methods that you can add as an action for a rule to tell PolicyCenter what to do next.
|
Flow control action |
Description |
|---|---|
|
|
This is the simplest version of an exit action. PolicyCenter stops processing the rule set as soon as it encounters this action. |
|
|
This exit action causes PolicyCenter to stop processing the rule set after processing any child rules. |
|
|
This exit action causes PolicyCenter to stop processing the current rule and immediately go to the next peer rule. The next peer rule is one that is at the same level in the hierarchy. You use this exit action only rarely, within very complicated action sections. |
|
|
This exit action causes PolicyCenter to stop processing the current rule and immediately go to the next rule at the level of the parent rule. It thus skips any child rules of the current rule. |
|
|
This exit action causes PolicyCenter to stop processing the current rule and immediately go to the next rule at the top level. It thus skips any other rules in the entire top-level branch containing this rule. |
Usually, a rule lists an exit action as the last action in the rule so that it occurs only after the rule executes all other defined actions.
