Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Create an action for an 'on Resource operation request start/end' policy

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.

Before you begin

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

  1. In the Cloud Admin Portal, navigate to Govern > Policies.

  2. Open a cloud policy and set the policy to the Draft state if needed.

  3. Open the rule that should perform the action and then click New on the Policy Rule Actions related list.

  4. 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
FieldDescription
Action Script CategorySelect a category.
Action Script NameSpecify a unique and meaningful name for the script.
Action ScriptCreate the script in the text box.See [Create a policy action script]() for details.
|Field|Description|
|-----|-----------|
|Action Name|Specify a unique and meaningful name for the action that starts the subflow.|
|Subflow|Select the subflow to execute.|
Image omitted: action-wf-on-cat-item-end.png
Selecting a workflow as the policy action

Parent Topic:Create a cloud policy