Skip to content

Latest commit

 

History

History
executable file
·
53 lines (47 loc) · 1.01 KB

README.md

File metadata and controls

executable file
·
53 lines (47 loc) · 1.01 KB

Subflow

This activity allows you to start a subflow.

Installation

Flogo Web

This activity comes out of the box with the Flogo Web UI

Flogo CLI

flogo install github.com/project-flogo/flow/activity/subflow

Metadata

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

Settings

Setting Required Description
flowURI true The URI of the flow to execute

Examples

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