---
sourceDocument: Yokohama IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/it-operations-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

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

# Create an action for an 'on Resource operation request start/end' policy {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

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.{#create-action-on-resrce-op-reqst__shortdesc-action-on-resrce-op-reqst}

## Before you begin

* Role required: sn_cmp.cloud_governor or admin
* Optional: [Create one or more cloud
  policy groups](https://servicenow-prod.fluidtopics.net/H2yVOZy5WHAEfq3AF7KTyg "A cloud policy group is a container for related policies. Consider grouping policies that are often used together or should be considered together. Grouping policies can help you to apply policies consistently across your organization.").
* [Configure a cloud policy rule](https://servicenow-prod.fluidtopics.net/qic_pvAYLBJcRcfDVquKmA "A policy rule is a collection of conditions and actions. ​If all conditions evaluate to true, the policy engine performs the actions. If any condition evaluates to false, the policy engine does not perform the actions.") and associated conditions.
{#create-action-on-resrce-op-reqst__ul-prereqs-for-policy-action}

## About this task

* The on Resource operation request start trigger fires after a user submits a resource operation request (Start, Stop, Deprovision).{#create-action-on-resrce-op-reqst__ph-on-resource-req-start}
* The on Resource operation request end trigger fires before completion of a life cycle operation on a resource (Start, Stop, Deprovision).{#create-action-on-resrce-op-reqst__ph-on-resource-req-end}
{#create-action-on-resrce-op-reqst__ul_khl_bgw_5fb}

## Procedure

1. In the Cloud Admin Portal, navigate to GovernPolicies.
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.  
   {#create-action-on-resrce-op-reqst__table_nbq_j2h_sfb__entry__2}

   | 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 1. Settings for the 'Execute a Script' action]

   {#create-action-on-resrce-op-reqst__table_nbq_j2h_sfb} {#create-action-on-resrce-op-reqst__table_xmb_yph_sfb__entry__2}

   | Field | Description |
   |-|-|
   | Action Name | Specify a unique and meaningful name for the action that starts the workflow. |
   | Workflow | Select the workflow to execute. |
   [Table 2. Settings for the 'Execute a Workflow' action]

   {#create-action-on-resrce-op-reqst__table_xmb_yph_sfb} Figure 1. Configuring an 'Execute a Workflow' action to run the base-system 'Change Request' workflow

*[\>]: and then


