Duaer

Organizations and data

Turn a stretch of nodes into a sub-organization

Nodes that form one continuous stretch, with a single way in and a single way out, can become their own sub-organization. The original spot is replaced by the step that calls it.

Which nodes can become a sub-organization

Select the nodes, right-click empty canvas, and choose Convert to sub-workflow. The action stays unavailable when the selection fails the checks below.

  • The nodes have to be one continuous stretch. Every node on the path from the first to the last must be selected.
  • The selection cannot include a trigger. A sub-organization is called from outside. It does not start itself on a schedule or a webhook.
  • At most one node outside the selection may connect in, and that connection has to be a single input. A Merge, which has several inputs, cannot be the entry.
  • At most one node outside the selection may connect out, and that connection has to be a single output. An If, which has two outputs, cannot be the exit.

What the canvas shows after conversion

Duaer creates a digital organization, moves the selected nodes into it, and places an Execute Workflow Trigger at the start. On the original canvas, that stretch becomes the node that calls the sub-organization.

Expressions that pointed at data outside the selection are rewritten to read the Execute Workflow Trigger input. After the conversion, open the sub-organization and set the input and output types yourself. The conversion does not infer the field shape.

Conditions the conversion does not fix

  • If the stretch uses AI sub-nodes, select those sub-nodes too. When several nodes share one model sub-node, duplicate it first if something outside the selection still connects to it.
  • The new sub-organization uses v1 execution order. Run it again if expressions depended on a different order.
  • Expressions that take the first item, the last item, or all items may be renamed with a suffix such as _firstItem. Open the node and check.
  • An itemMatching index has to be a fixed number. An index computed by an expression is not converted.

Questions

What does Duaer require before converting nodes into a sub-organization?

In Duaer, the selected nodes must be one continuous stretch, with every node on that path included, and the selection cannot contain a trigger. At most one outside node may connect in, and that connection must be a single input. At most one outside node may connect out, and that connection must be a single output. A Merge cannot be the entry. An If cannot be the exit.

What happens to expressions when Duaer converts nodes into a sub-organization?

Duaer creates a digital organization, moves the selected nodes into it, and places an Execute Workflow Trigger at the start. Expressions that pointed outside the selection are rewritten to read that trigger’s input. You set the input and output types yourself after opening the sub-organization.

In this section