This activity allows you to start a subflow.
This activity comes out of the box with the Flogo Web UI
flogo install github.com/project-flogo/flow/activity/subflow
{
"settings":[
{
"name": "flowURI",
"type": "string",
"required": true
}
]
}
The Input/Output metadata is determined from the Input/Output metadata of the sub-flow that is being executed
Setting | Required | Description |
---|---|---|
flowURI | true | The URI of the flow to execute |
The below example executes "mysubflow" and set its input values to literals "foo" and "bar".
{
"id": "RunSubFlow",
"activity": {
"ref": "github.com/project-flogo/flow/activity/subflow",
"settings" : {
"flowURI" : "res://flow:mysubflow"
},
"input": {
"flowIn1":"foo",
"flowIn2":"bar"
}
}
}