V2

Sub Workflow

Use this Node to call another published V2 Workflow from the current Workflow. This is useful when you want to reuse a section of logic across multiple Workflows.

Revision History

0.0.0.8 - Current release.

Setup Notes

The target Workflow must already be published and enabled in V2 before you can bind this Node to it. Ensure that this Workflow has the Parameters and Returns that you want to expose before doing so.

When you select a target Workflow, the Node can surface that Workflow's published input and output schema. This makes it easier to map values into the call and consume returned values in the parent Workflow.

For broader guidance on structuring reusable Workflows, see How to use Sub Workflows.

Methods

The Sub Workflow Node exposes one method.

Call Workflow

Invokes the target Workflow identified by WorkflowKey.

Parameter Type Description
WorkflowKey String The Workflow key of the published V2 Workflow to call.
Return Type Description
Result Object A set of values returned by the target Workflow. The available outputs depend on that Workflow's published return schema.

Usage Notes

  • If you only provide a WorkflowKey, the Node can still call the target Workflow, but the design-time schema is more useful when the target Workflow has published parameters and returns.