A response instructing the client to begin a Subflow.
| Property | Type | Required | Description |
|---|---|---|---|
launchConfig | LaunchConfig | Yes | The configuration to launch the subflow with |
onCompletion | Behavior | No | The behavior performed on successful completion of the subflow. If this is an ActionBehavior, the result of the subflow will be merged into the payload according to the resultKey. |
onError | Behavior | No | The behavior performed when the subflow fails. If not provided, the parent flow will be ended and its onError will be called. |
referrerId | String | Yes | The identifier for the triggering flow, used for tracking |
resultKey | String | No | The key the result will be merged under, or root if not provided |