Add pre or post-provisioning operations with subflows to a template-based catalog item

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 1 minute to read
  • You can create a post-provisioning operation using subflows on a template-based catalog item.

    Before you begin

    • The Orchestration application is installed.
    Role required: Cloud user, designer, admin, sn_cmp.cloud_service_designer

    About this task

    In this example, add a subflow pre or post-provision operation to an existing catalog item that you create by ingesting a template.

    Procedure

    1. In the Cloud Admin portal, navigate to Design > Cloud Catalog Items.
    2. Open a catalog item, click the Pre Provisioning Operation or Post Provisioning Operation tab, click New.
    3. On the form, enter or select the following field values.
    4. From the Step Type list, select Flow as the operation step type.
    5. Click the magnifying glass Search icon icon on the Flow field.
    6. From the Subflow lookup list, select an active subflow.
      The lookup table lists all active flows and subflows in the instance.
      Note:
      You cannot invoke flows while adding a resource operation step. This is a known limitation.
    7. In the Order field, specify an order for this operation.
    8. Select the Enabled check box, to enable the operation.
    9. Click Submit.
      The subflow operation step is attached to the catalog item and appears on the Pre Provision Operation or Post provision Operation related list.

    What to do next

    • Any input parameters associated with the subflow you selected are auto-populated on the Key Values related list
    • Click the subflow operation step from the relevant related list to add or modify input parameters.
      Note:
      Ensure that the flowcorrelationid input parameter is created in the subflow with the following expression string:
      Key Value
      flowcorrelationid $(Script:CMPFlowStepHandler.generateCorrelationId)
    • Any input parameters associated with the subflow you selected are auto-populated on the Key Values related list
    • Create a step response processor. For more information, see Configure a response processor.
    • Create a response action for Cloud Provisioning and Governance