Create post-provision operations

  • Release version: Australia
  • Updated March 12, 2026
  • 2 minutes to read
  • Create post-provision tasks for newly provisioned catalog items by defining subflows, 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 Design > Cloud 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.
      Table 1. Operation Setup form
      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
      • InstanceScript:

        Script: Enter the name of the script.

      • Resource:
        • Resource Interface
        • Interface Operation
      • Flow: Select a subflow. All active subflows in the instance are listed.
        Note:
        For more information, see Subflows.
      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.
    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 for more information.

        Post-provisioning attributes
      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:

        Table 2. Post-provision operation attributes for VMware
        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>}
      5. Click Apply Changes.
        All configurations are saved and the Cloud Catalog Items page opens.