Software AG Products 10.7 | Using CentraSite | Policy Management | Built-In Design/Change-Time Actions Reference | Change Activation State
 
Change Activation State
Activates or deactivates a lifecycle model or a policy.
Event Scope
Post-State Change
OnTrigger
Object Scope
Lifecycle Model
Policy
Input Parameters
Change Activation State To
(String). The activation state to which you want to set the lifecycle model or policy as follows:
Active
Activates the policy or lifecycle model.
This action fails if it attempts to activate:
*A policy whose parameters are not set.
*A lifecycle model that does not have an associated object type.
*A lifecycle model whose associated object type is already assigned to another lifecycle model.
To prevent these types of failures from occurring, you should always execute the appropriate validation action before changing the activation state of a policy or lifecycle model.
Inactive
Deactivates the policy or lifecycle model.
The following options are used to create policies that support the automatic deactivation of an older version of a policy or lifecycle model when a newer version is activated. In a lifecycle model for policies or lifecycle models, any state during which a policy or lifecycle is active must include a transition that places the policy or lifecycle model in one of the following activation states.
For example, the default lifecycle model for policies includes the Productive state. This is the only state in the model during which the policy is active. The Productive state includes a transition to the Retired state, which triggers a policy that switches the policy's activation state to Superseded and Retired.
Because the Productive state includes this transition, CentraSite is able to automatically deactivate an old version of a policy when a new version is activated. It simply locates and executes the transition that places the policy in one of the following states. In the case of policies, this transition is the one to the Retired state, which puts the policy in the Superseded and Retired state of activation.
Superseded
Deactivates the policy and switches the policy's activation state to Superseded to indicate that the policy has been replaced by a newer version.
Retired
Deactivates the policy and switches the policy's activation state to Retired to indicate that the policy is no longer available for use.
Superseded and Retired
Deactivates the policy and switches the policy's activation state to Superseded and Retired to indicate that the policy has been replaced by a new version and is no longer available for use.
This action fails if it attempts to deactivate a policy that is in-progress. To prevent this type of failure from occurring, you should always execute the Validate Policy Activation action before using the Change Activation State action to deactivate a policy or lifecycle model.