---
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 post-provision operations

# Create post-provision operations {#ariaid-title1}

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

Create post-provision tasks for newly provisioned catalog items by defining workflows, scripts, CAPI calls, or resource operations. For efficiency, set up a post-provision operation, eliminating the need for manual invocation.
This approach enhances time management, ensuring seamless execution of desired actions on the catalog item after resource provisioning.

## Before you begin

Role required: sn_cmp.cloud_service_designer

## About this task

You can create post-provision operations only for catalog items that are based on templates.

## Procedure

1. In the Cloud Admin Portal, navigate to DesignCloud Catalog Items.
2. Open the catalog item, click the Post Provisioning Operation tab, and then click New.
3. On the form, fill in the fields.  
   {#create-post-provisioning__table_eyh_qnw_3fb__entry__2}

   | Field | Description |
   |-|-|
   | Step Type | Post-provision operation. Based on the post-operation you select, additional fields appear. * CAPI: * CAPI Provider * CAPI Interface * CAPI Method * CAPI Version {#create-post-provisioning__ul_e1h_nmm_kfb} * InstanceScript: Script: Enter the name of the script. * Resource: * Resource Interface * Interface Operation {#create-post-provisioning__ul_lky_ymm_kfb} * Workflow: Flow: Select a workflow. All workflows created in the instance are listed. Note: You cannot invoke flows while adding a resource operation step. This is a known limitation. * Flow: Select a subflow. All active subflows in the instance are listed. Note: For more information, see [Subflows](https://www.servicenow.com/docs/access?context=subflows&version=yokohama&pubname=yokohama-build-workflows&ft:locale=en-US). {#create-post-provisioning__ul_vxq_jvl_kfb} |
   | Order | Order of post-provision operations. Enter the order (in numerals) in which you want the post-provision operation to be invoked. For example, if you enter the value 2 for CAPI and the value 3 for InstanceScript, then CAPI is invoked first and then the InstanceScript gets invoked. If you do not enter any value in this field, the system automatically enters a value in increments of 20. |
   | Enabled | Option for enabling the post-provision operation you want invoked. |
   [Table 1. Operation Setup form]

   {#create-post-provisioning__table_eyh_qnw_3fb}
4. Click Submit.  
   Parameters for the post-provision operation are automatically created as operation attributes on the Manage Attributes form.
5. To set attribute values for a post-provision operation:
   1. Click the Manage Attributes related link.  
      The Manage Attributes form opens.
   2. Select the post-provision operation to update.  
      All attributes for the selected operation appear in the Operations list. You can either create expression mappings (shown in the Mapping column) for an attribute or can you generate variables
      for an attribute. See [Manage operation attributes](https://servicenow-prod.fluidtopics.net/WuER_CguUUvimimmf3SGxg "You can specify attribute values for catalog items help cloud users to correctly provision catalog items. You can configure and manage attributes for provision, pre-provision, and post-provision operations.") for more information.
   3. On the Operation Attributes form, edit the values in the Mapping field as needed.
   4. To set a value and not show the field to the cloud user, set Generate Variable to false.  
      For VMware post-provision operations, you can set the following attribute values:
      {#create-post-provisioning__table_yxs_nzg_r3b__entry__2}

      | Attribute name | \<Value field\> to set in the Mapping expression |
      |-|-|
      | NodeCredential | $(capiResolver.NodeCredentialResolver#nodeCredentialId=`<Credential SysID>`) Note: You must create the credentials manually to be able to specify the sys_id in the expression |
      | NodeAddress | $(Script:CMPVMUtils.getReachableIp\[arg=$(Stack.items\[`<VM Name>`\].attributes\[sys_id\])\]) |
      | ScriptExpression | ${CloudScript.scripts.`<Script Name>`} |
      [Table 2. Post-provision operation attributes for VMware]

      {#create-post-provisioning__table_yxs_nzg_r3b}
   5. Click Apply Changes.  
      All configurations are saved and the Cloud Catalog Items page opens.
   {#create-post-provisioning__substeps_hzj_czg_r3b}
{#create-post-provisioning__steps_ajy_m4m_kfb}

*[\>]: and then


