Invoke a subflow by adding an operation step to a resource and linking it to a new or existing subflow.
시작하기 전에
Make sure the Orchestration application is installed.
Role required: Cloud user, designer, or admin
프로시저
-
In the Cloud Admin Portal, navigate to
.
-
Set the resource block to Draft state by toggling the publish and then select .
The Add Operation Steps form appears.
-
From the Operation Type list, select Invoke Flow.
-
From the Content Type list, select Subflow.
주: You cannot invoke flows while adding a resource operation step.
This is a known limitation.
-
Select an active subflow from the Flow/Subflow lookup list.
- 옵션:
Specify a condition in the Condition field.
-
Select 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.
-
In the Inputs subtab, select the
icon to add a new step parameter.
-
Add the following key value pair to the subflow.
| Key |
Value |
flowcorrelationid |
$(Script:CMPFlowStepHandler.generateCorrelationId) |
-
Select the Response Processor tab and then select the plus icon.
The Add Response Processor dialog box appears.
-
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.
-
Select Submit.
-
Set the resource block to Publish state to incorporate your changes and publish the resource block.