CentraSite 10.7 | CentraSite User’s Guide | Policy Management | Managing Design Time Policies through CentraSite Business UI | Assigning Actions to a Design Time Policy | Policy Scope and Action Scope
 
Policy Scope and Action Scope
Similar to a policy, an action has a declared scope. The scope of an action is declared in the Applicable Types and Event Types properties in the action template of an action. 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 own scope of the policy. For example, if you had an action ABC with the following scope:
Action ABC's Scope
Applicable 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 cannot 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
Applicable Types(s):
Service
Yes
Event Type(s):
Post-Create
Yes
Compatible with Action ABC?
Policy #2 Scope
Applicable Types(s):
Service
Yes
Event Type(s):
Post-Create Post-Update
Yes
Policy #3
Compatible with Action ABC?
Policy Scope
Applicable Types(s):
Service Report Template (out of scope)
No
Event Type(s):
Post-Create
Yes
Policy #4
Compatible?
Policy Scope
Applicable Types(s):
Service
Yes
Event Type(s):
Post-Create Post-Update Post-Delete (out of scope)
No
Note:
Virtual types and base types are treated as distinct object types with respect to policy action scope. You cannot insert a policy action that is scoped for a particular virtual type into a policy that is scoped specifically for the base type.