Supernode Download PDF
Supernode is a special node that you can configure to contain other nodes of the workflow.
The main purpose of supernodes:
- Simplify: Make your workflows more readable by combining several nodes of a specific data processing stage into one supernode. A supernode can include other supernodes, nesting without limits. This allows you to build a hierarchical workflow.
- Reuse: In a supernode, you can implement any processing logic and define the required structure of input and output data. Through derived components, Node Execution nodes, web services, and batch workflow processing, you can reuse the processing logic created in a supernode for new data.
Ports
Initially, a supernode does not have any input or output ports. Create them in the configuration wizard. You can create any number of ports, selecting from the following options:
Input
Variables (optional port)
Table
Table (optional).
Data tree
Output
Variables
Table
Data tree
Configuration wizard
On the Supernode page, create the necessary input and output ports. Set each port's type, name, and caption (this will be displayed on hover):
Inputs:
Add: Create a new input port:
Variables
Table
To make a Table input port optional, enable the Optional property.
Data tree
Outputs:
Add: Create a new output port:
Variables
Table
Data tree
Toolbar buttons
Move down: Use this to place the selected port lower in the list.
Move up: Move the selected port higher in the list.
Other actions
Delete: Use this button on the right of the port's row to delete the port.
Delete all: Use this button on the right of the header row to delete all added ports.
Port naming options
- Default: By default, the wizard displays
Uniquein the Name column. This means, the system generates a unique internal name automatically. You can always select this option from the dropdown menu upon double-clicking the name field. - Custom: Enter a unique port name directly into the field. It can include Latin letters (
atozandAtoZ), digits, and the underscore (_). The name cannot start with a digit. Ensure uniqueness within the list of input/output ports, depending on your port category.
Inside a supernode
Click the Enter button on the supernode to open the internal workflow area and build your processing workflow there. When editing the supernode's contents, the input and output ports created in the wizard are displayed on the left (above the Input node icon) and on the right (above the
Output node icon).
To activate the supernode's inner nodes:
- Connect the nodes to the Output node; or
- Define the execution order by connecting them to the Synchronization input port.
To deactivate the nodes within the supernode:
- Connect the nodes to the Input node and Output node; or
- Define the execution order by connecting them to the Synchronization output port and Synchronization input port.
Inside a supernode, you can use workflow variables, including user variables. Note that these variables will only be used within the supernode.
Click Move out to exit the supernode and return to the parent workflow.
Note: You can deactivate all nodes and connections inside a supernode using the
Deactivate all subnodes command in the supernode's context menu.
Read on: Reference Node