A policy that is triggered by the
on Resource operation request start or on Resource
operation request end trigger can run a script or override a
user-requested attribute value.
About this task
The on Resource operation request start trigger fires
after a user submits a resource operation request (Start ,
Stop , Deprovision ).
The on Resource operation request end trigger fires before completion
of a life cycle operation on a resource (Start ,
Stop , Deprovision ).
Procedure
In the Cloud Admin Portal, navigate to .
Open a cloud policy and set the policy to the Draft state if needed.
Open the rule that should perform the action and then click
New on the Policy Rule Actions related list.
On the popup, click Create for
the type of action to perform, enter a unique and meaningful Action
Name , and then fill in the form for the action.
Table 1. Settings for the 'Execute a Script' action
Field
Description
Action Script Category
Select a category.
Action Script Name
Specify a unique and meaningful name for the script.
Action Script
Create the script in the text box.See Create a policy action script for details.
Table 2. Settings for the 'Execute a Workflow' action
Field
Description
Action Name
Specify a unique and meaningful name for the action that starts the
workflow.
Workflow
Select the workflow to execute.
Figure 1. Configuring an 'Execute a Workflow' action to run the base-system 'Change Request'
workflow