Execute response processor for subflow

  • Release version: Australia
  • Updated March 12, 2026
  • 1 minute to read
  • Execute a response processor for a subflow to get the subflow data back into a configuration item (CI). The response processor picks up the data, sends the data to the CMDB, which in turn puts the data in a CI.

    Before you begin

    Role required: sn_cmp.cloud_service_designer

    About this task

    Before you execute a response processor for a subflow, you must create a subflow, attach the subflow to a resource block operation step, and then generate the catalog. To return a response from the subflow to the Cloud Provisioning and Governance application, the subflow must create a record in the sn_cmp_flow_result table with the appropriate details as follows.
    
     flow_type           : 'sys_flow_context'
     flow_correlation_id : flowcorrelationid (This variable must be present in the Resource Block as mentioned here Add a resource operation step to invoke a subflow.
     flow_output         : String that will be processed by Response Processor
     flow_error          : Error string if there is any error
     error_detail        : Error detail string if there is any error

    Procedure

    1. In the Cloud Admin Portal, navigate to Design > Resource Blocks.
    2. Open a resource block that is in a draft state and navigate to Operations Steps.
    3. Select Add Step.
      The Add Operation Steps dialog box appears.
    4. Add a workflow operation step.
      The workflow operation step gets attached to the resource block and appears on the page. Any input parameters associated with the workflow appear on the Input tab.
    5. Select Generate Catalog.
      The workflow appears in the Cloud User Portal as an operation. Select the workflow from the Select Operation picker to execute the operation. The status of the operation is visible in the Track operation subtab.
    6. Select the Response Processor tab and then select the plus icon.
      The Add Response Processor dialog box appears.
      Adding a response processor with a workflow.
    7. In the Script Name list, select a script for the response processor.
      For a script to appear in the Script Name list, the script should already have been created in the Resource Script tab.
    8. Select Submit.
      The script appears in the Response Processor tab. You can open the script and modify the script.