Sub-Flow

Allows you to incorporate another workflow within a parent workflow.

Information at a Glance

Category Tools
Data source type HD
Sends output to other operators Yes
Data processing tool Depends on customer-specific implementation

You can use a workflow as a set of operators that are executed as a sub-flow within another parent workflow. Doing this provides significant leverage of Team Studio for creating many related workflows with minimal additional effort.

Note: As of version 6.x, there is a known issue with nested sub-flows for database data sources. A nested sub-flow occurs when a sub-flow operator in a workflow calls another workflow that contains a sub-flow operator. Nesting sub-flows causes the output names of the variables to collide, and your results might be incorrect or the workflow might fail.

Input

Data sets from the preceding operator.

Configuration

Parameter Description
Notes Any notes or helpful information about this operator's parameter settings. When you enter content in the Notes field, a yellow asterisk is displayed on the operator.
Sub-Flow The workflow to use as a sub-flow. The options for Sub-Flow are the workflows in the same workspace as the current workflow, and they appear in a drop-down menu.

Any workflow in the current folder can be used as a sub-flow except the recursive referenced one. If the recursive occurs, the system produces an error.

Input Table Mapping The user can now attach the sub-flow to other operators.

See: Input Table Mapping dialog box.

Exit Operator The operator in the sub-flow to use as the point of attachment for any subsequent operators in the parent workflow. The options for Exit Operator are the operator's sub-flow workflow, and they appear in a drop-down menu.

The exit operator should have the correct structure (for example, columnnames) for the subsequent operators. If the subsequent operator does not need an input, the exit operator can be empty.

Note: For Hadoop flows, only operators with stored results can be used as exit operators.
Sub-Flow Variable Define the values of variables in the sub-flow workflow. The values you provide are used when running the sub-flow workflow in the context of the current (parent) workflow.

See: Sub-Flow Variable dialog box.

Output

Visual Output
All of the outputs of the operators inside the sub-flow with a node name that is added the sub-flow operator's name as a prefix.