CentraSite Documentation : CentraSite Developer’s Guide : Built-In Design/Change-Time Actions Reference : Built-In Actions for Design/Change-Time Policies : Validate Policy Deactivation
Validate Policy Deactivation
Verifies that a policy is not currently “in-progress” (that is, undergoing execution) and can therefore be successfully deactivated. If the policy is in-progress when this action is executed, this action will fail.
You should include this action in any policy that is triggered by a lifecycle state change that subsequently deactivates the policy. Executing this action before the state change occurs helps ensure that the stage change (and subsequent policy deactivation) will not take place if the target policy is in-progress.
Note:  
A policy that initiates an approval workflow is considered to be “in-progress” until the required approvals are obtained for the workflow. Therefore, if the Validate Policy Deactivation action is triggered for a policy that is associated with one or more pending approval workflows, the action will fail.
This action is executed by the default Validate Policy Deactivation policy that is installed with CentraSite. The Validate Policy Deactivation policy executes on the PreStateChange event that occurs when a policy switches to the Revising or Retired state. The Validate Policy Deactivation action in this policy ensures that a policy is not switched to the Revising or Retired state (and consequently, deactivated) while it is undergoing execution.
Event Scope
PreStateChange
Object Scope
Policy
Input Parameters
None.
Copyright © Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback