Connections are the pathways that allow data to flow between blocks in your workflow. They define how information is passed from one block to another, enabling you to create sophisticated, multi-step processes.
Properly configured connections are essential for creating effective workflows. They determine how
data moves through your system and how blocks interact with each other.
Reference tags work in fields that accept dynamic input. In a Judgment or Laya Decision block, pass block outputs through State; instructions and criteria stay literal and reject reference tags.
Inside a Parallel Window, connect a Workflow block to follow-up blocks to process each child's result as soon as that child finishes. JSON Mapper can reshape the child's result or completed results from a sequential Loop. Each item's connections remain isolated; in Branches mode, connections and references must stay within their assigned branch. After the window finishes, downstream blocks read its collected results in the configured order. See connections inside parallel windows for wiring and reference rules.
Common Questions
The execution engine builds a directed acyclic graph (DAG) from your connections and processes blocks in dependency order. When a block finishes, its output is stored in the execution context. Downstream blocks reference that output using connection tags like <BlockName.response>, which the variable resolver replaces with the actual data at execution time.
Yes. A block waits until all of its incoming connections have been fulfilled before it executes. The engine tracks incoming edges for each node and only marks a block as ready when every upstream dependency has completed. You can reference outputs from any connected block using their respective connection tags.
If a block errors, the engine activates the error edge (if one exists) and deactivates the normal output edge. Downstream blocks on the success path will not execute. You can connect an error handle to a separate block to build fallback or recovery logic.
Yes. Router and Condition blocks produce a selected route or option that determines which outgoing edge is activated. Only the blocks on the chosen path will execute. Edges on unselected paths are deactivated and their entire downstream subgraph is skipped.
Blocks within the same parallel branch cannot directly reference blocks in a sibling branch because branches execute independently. However, once all branches complete and the parallel block exits, downstream blocks can access the aggregated results from all branches.
Connection tags use angle-bracket syntax: <BlockName.property>. For nested data you can chain dot notation, such as <BlockName.response.items[0].name>. The resolver walks the object path at execution time and substitutes the resolved value into your input field.