CentraSite Documentation : CentraSite Developer’s Guide : Built-In Design/Change-Time Actions Reference : Built-In Actions for Design/Change-Time Policies : Validate Policy Activation
Validate Policy Activation
Verifies that a policy is ready to be activated by checking that the following conditions exist for the policy:
*That all of the required parameters in the policy's action list have been set.
*That all of the actions in the action list are supported by the policy's specified scope. That is, the policy does not contain any action whose scope includes an object type or event type that is outside the scope of the policy itself.
*That a policy that contains one or more WS-I actions contains only WS-I actions.
*That a policy that executes on a PreStateChange or PostStateChange specifies the lifecycle states that will trigger the policy.
*Whether a previous version of the policy is already active, and if so, it verifies that the policy can be switched to a state in which it is retired or superseded.
The action will not succeed unless all conditions are satisfied.
You should include this action in any policy that is triggered by a lifecycle state change that subsequently activates the policy. Executing this action before the state change occurs ensures that state change (and subsequent activation) will not occur unless the policy is capable of being activated.
This action is executed by the default Validate Policy Activation policy that is installed with CentraSite. The Validate Policy Activation policy executes on the PreStateChange event that occurs when a policy switches to the Productive lifecycle state. The Validate Policy Activation action in this policy ensures that a policy is not switched to the Productive state (and consequently activated) unless the policy's action parameters have been set.
Event Scope
PreStateChange
Object Scope
Policy
Input Parameters
None.
Copyright © Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback