CentraSite 10.7 | CentraSite User’s Guide | Policy Management | Managing Design and Change-Time Policies through CentraSite Control | Assigning Actions to a Design/Change-Time Policy | Policy Scope and Action Scope
 
Policy Scope and Action Scope
Like a policy, an action has a declared scope. The scope of an action is declared in the Object Types and Event Types properties in the action's action template. An action template is an object that defines a policy action that is available within CentraSite.
A policy can only include actions whose scope matches or exceeds the policy's own scope. For example, if you had an action ABC with the following scope:
Action ABC's Scope
Object Type(s):
Service
Event Type(s):
Post-Create Post-Update
You could use this action in policies 1 and 2 below, because these policies include only objects and events that are encompassed by scope of the action. However, you could not use the action in policies 3 or 4, because these policies include objects and events that the action does not support.
Compatible with Action ABC?
Policy #1 Scope
Object Types(s):
Service
Yes
Event Type(s):
Post-Create
Yes
Compatible with Action ABC?
Policy #2 Scope
Object Types(s):
Service
Yes
Event Type(s):
Post-Create Post-Update
Yes
Policy #3
Compatible with Action ABC?
Policy Scope
Object Types(s):
Service Report Template (out of scope)
No
Event Type(s):
Post-Create
Yes
Policy #4
Compatible?
Policy Scope
Object Types(s):
Service
Yes
Event Type(s):
Post-Create Post-Update Post-Delete (out of scope)
No
*To examine the scope of an action
1. In CentraSite Control, go to Policies > Action Templates.
This displays a list of defined design-time and change-time actions in the Action Templates page.
2. Locate the action whose scope you want to examine, and select Details from its context menu.
This opens the Edit Action Template page.
3. Select the action's Scope tab.
Note:
Virtual types and base types are treated as distinct object types with respect to policy action scope. A policy action that is scoped for a particular virtual type cannot be inserted into a policy that is scoped specifically for the base type.