A.5.6. Workflow Reference Node Type

Engineering Knowledge Manager

User's Guide | Appendix A. Defining a Process Template Using XML | A.5. Defining Nodes |

A.5.5. Batch Node Type |  | A.5.7. Update Analysis Project Node Type
Prev |  | Next

### A.5.6. Workflow Reference Node Type

A workflow reference node has the following required attributes:

`name`

  specifies the name of the node. It has the same character restrictions as the `name` attribute of the node type. This name will be displayed in the graph and the Elements tree. Same restrictions apply as for Node Type.

`description`

  specifies a description of the node.

`wfReference`

  specifies the reference path of the nested process template.

The workflow reference node has the following optional child elements:

`inputVar`

  This element has two attributes `processVarName` and `nestedProcessVarName`. This mapping is used to transfer variable values from the main process to the nested process. You can specify any number of `inputVar` elements.

`outputVar`

  is used when you want the workflow reference node to set the values of process variables after execution. Similar to the `inputVar` element, `outputVar` has two attributes `processVarName` and `nestedProcessVarName`. You can specify any number of `outputVar` elements.

Note: Output files generated from batch nodes in nested process templates are not accessible.

Example 11: Workflow Reference Node Example

    <workflow-reference-node name="Nested Workflow" wfReference="/Data/Shared Data/nested-workflow.pt.xml"
    description="Reference Workflow node">
          <inputVar processVarName="outerVariable" nestedProcessVarName="v1" />
          <outputVar nestedProcessVarName="v1" processVarName="outerVariable" />
        </workflow-reference-node>

Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

Prev | Up / Contents | Next

Release 18.2 - © ANSYS, Inc. All rights reserved.