Create an action for an 'on Catalog item request start/end' policy
The on Catalog item request start trigger fires after the user opens a request form. The on Catalog item request end trigger fires after a user submits a request form. A policy that is triggered by the on Catalog item request start or on Catalog item request end trigger can run a script or execute a subflow.
Before you begin
- Role required: sn_cmp.cloud_governor or admin
- Optional: Create one or more cloud policy groups.
- Configure a cloud policy rule and associated conditions.
Procedure
In the Cloud Admin Portal, navigate to Govern > Policies.
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.
Image omitted: action-on-cat-item-startstop.png
Create Action popup
Create Action popup
| 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. |
Image omitted: action-wf-on-cat-item-end.png
Selecting a workflow as the policy action
Selecting a workflow as the policy action
|Field|Description|
|-----|-----------|
|Action Name|Specify a unique and meaningful name for the action that starts the subflow.|
|Subflow|Select the subflow to execute.|
Parent Topic:Create a cloud policy