What Happens if an Event Triggers Multiple Policies?
When multiple policies have the same scope, all of those policies are triggered when an in-scope event occurs. To determine the order in which to execute these policies, CentraSite examines each policy's Priority setting.
The Priority setting contains a non-negative integer that indicates the policy's priority. A priority value of 0 represents the highest possible priority. The following priority values are reserved for system use. These priorities can only be assigned to predefined policies. You cannot assign these priority values to the regular, user-defined policies that you create using CentraSite Control.
Values 0 through 10
Values greater than 9999
Note: | A policy's Priority property is used only when CentraSite is given multiple policies to enforce for the same event. If CentraSite has only one policy to enforce, the Priority property is ignored entirely. |
When an event triggers multiple policies, CentraSite executes the policies serially, in priority order from lowest to highest (that is, it executes the policy with the lowest priority value first). Each policy in the series is executed to completion before the next one begins.
If two or more policies have the same priority value, their order is indeterminate. CentraSite will execute these policies in serial fashion after all lower priority policies and before any higher priority policies. However, you cannot predict their order
Example
If CentraSite were given the following policies to enforce for an event:
Policy | Priority |
Policy A | 11 |
Policy B | 25 |
Policy C | 11 |
Policy D | 100 |
Policy E (system policy) | 0 |
It would execute the policies in the following order:
Policy | Priority |
Policy E (system policy) | 0 |
Policy A then Policy C (or vice versa) The order of these two policies cannot be controlled or predicted because they have the same priority. | 11 |
Policy B | 25 |
Policy D | 100 |
Note: | The preceding example is shown for illustrative purposes. It is not a good practice to have an event trigger policies that have the same priority as exhibited by policies A and C above. |