API Management 10.4 | Using CentraSite | Policy Management | Built-In Design/Change-Time Actions Reference | 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 Pre-State Change or Post-State Change specifies the lifecycle states that triggers 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 does 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) does 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 Pre-State Change 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
Pre-State Change
Object Scope
Policy
Input Parameters
None.

Copyright © 2015- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release