---
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


---

# Add a resource operation step to invoke a subflow

# Add a resource operation step to invoke a subflow {#ariaid-title1}

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

Invoke a subflow by adding an operations step to a resource and then associating the resource to a new or existing subflow.

## Before you begin

* The Orchestration application is installed.

{#add-resource-op-step-subflow__ul_g32_3fp_5fb}

Role required: Cloud user, designer, or admin

## About this task

## Procedure

1. In the Cloud Admin Portal, navigate to DesignResource Blocks.
2. Click the resource block to add an operations step to.
3. Set the resource block to Draft state and then click OperationsStepsAdd Step.  
   The Operation Step form appears.
4. Select Invoke Flow, from the Operation Type list.
5. Select Subflow from the Flow Type list.  
   Note:  
   You cannot invoke flows while adding a resource operation step. This is a known limitation.
6. Select an active subflow from the Flow/Subflow lookup list.
7. **Optional:** Specify a condition in the Condition field.
8. Click Submit.  
   The subflow operation step is attached to the resource block and appears on the page. Any input parameters associated with the subflow you selected are auto-populated on the Input tab.
9. In the Inputs subtab, click the ![Add step parameter]() icon to add a new step parameter.
   1. Add the following key value pair to the subflow.  
      {#add-resource-op-step-subflow__table_ns2_3rp_5mb__entry__2}

      | Key | Value |
      |-|-|
      | `flowcorrelationid` | `$(Script:CMPFlowStepHandler.generateCorrelationId)` |
      [ ]

      {#add-resource-op-step-subflow__table_ns2_3rp_5mb}
   {#add-resource-op-step-subflow__substeps_qqm_hwp_5mb}
10. Click the Response Processor tab and then click the plus icon.  
    The Add Response Processor dialog box appears.
11. 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. For more information, see [Configure a response processor](https://servicenow-prod.fluidtopics.net/WlnPRd2_uJxvMqkkalI6oQ "Configure a response processor to handle responses from datacenters.").
12. Click Submit.
13. Set the resource block to Publish state to incorporate your changes and publish the resource block.

## What to do next

[Create a response action for Cloud Provisioning and Governance](https://servicenow-prod.fluidtopics.net/hzp2OYHKsn70wzOsVPiIeA "Create a subflow with the required input parameters that notifies Cloud Provisioning and Governance whether the flow completes successfully or not.")

*[\>]: and then


