Software AG Products 10.7 | Using CentraSite | Policy Management | Managing Design and Change-Time Policies through CentraSite Control | Approval Policies | Using Approvals with Pre-State Change Events
 
Using Approvals with Pre-State Change Events
The Pre-State Change event occurs when you change the lifecycle state of an object.
You can use an approval policy with the Pre-State Change event to prevent users from switching the following types of objects to certain lifecycle states (for example, to the Productive state) without first getting the required approvals:
*Policy
*Asset
*Lifecycle model
*To use approvals with Pre-State Change events
1. Ensure that the state change(s) that triggers the policy are defined in an existing lifecycle model. If the lifecycle model, with the appropriate state, has not yet been defined, you must create it before you create the approval policy.
2. Create a design/change-time policy with the following scope:
*Event Type: Pre-State Change
*Object Type: Policy, Asset, or Lifecycle Model
3. In the Before the Object Enters State section of the policy's States tab, specify the state change that requires approval.
4. On the policy's Actions tab, specify and configure the approval action that is to be executed when an in-scope object switches to the state specified in the preceding step. If other actions are to be executed before or after the approval action, insert those actions on the Action tab.
CAUTION:
Only certain kinds of actions can be included after the approval action in an approval policy. Some actions, if they occur after the approval action, will cause the policy to fail.