Supernode
Supernode is a special node that contains other nodes of the Workflow.
The Main Designation of the Supernode:
- Simplification of the Workflow structure is achieved by combination of several nodes performing particular stage of the data processing into one node of the Supernode. The Supernode can include other Supernodes, their nesting into each other is not restricted. Thus, it is possible to create the hierarchic structure of the workflow.
- Multiple use of the created processing logics for different data. It is possible to implement the random processing logics and set the required structure of input and output data in the Supernode. Using the following tools: the Derived component, Node execution, Publication of web services, Batch processing of the workflows, it is possible to use the processing logics created in the Supernode many times for different data.
Ports
Initially, there are no input and output ports. They are created by users in the wizard. It is possible to set the random number of the following input/output ports for the Supernode:
Input
- Variables (optional port)
- Data table
- Data tree.
Output
- Variables;
- Data table;
- Data tree.
Wizard
Ports are created here. It is possible to set a type, name and caption for each port. It will be displayed when hovering a cursor over it.
- Inputs enable to create a new input port:
- — for variables.
- — for table.
- — for data tree.
- Outputs enable to create a new output port:
- — for variables.
- — for table.
- — for data tree.
- Move down, Move up enable to dislocate the selected port in the list.
- enables to delete port.
- enables to delete all ports.
The port name can be set in the following ways:
- Select from the item drop-down menu
(it is used by default): the port name is not explicitly given by a user, in this case, the system generates the internal unique name independently. - Explicitly given name: a user sets the unique port name by himself. Letters of the Latin alphabet from а to z and from А to Z, underscore "_" character and digits are allowed in the name. It is not allowed to start the name from a digit. It is required to provide uniqueness of the input port in the list of the input ports, for the output port - in the list of the output ports.
The Supernode Construction Area
The Supernode node contains the following text: Enter, its pressing enables to open the Supernode construction area, and execute a random processing workflow in it. When editing the Supernode content, its input and output ports created in the wizard are displayed in the left and right parts of the area over the following buttons: Input node and Output node.
It is possible to use the Workflow variables that include User variables inside the Supernode. A user can set a list and values of the user variables. In this case, the area of their usage will be restricted by the Supernode.
When pressing Move out button, it is possible to move out the Supernode to the workflow a level higher.