The visual workflow editor compiles a graph of nodes to server-side JavaScript. This release makes a workflow callable like a function, makes every reference between nodes explicit and checked, and rebuilds the editing surface around them.
The model
- Arguments and a result A caller passes arguments, read as
argsfrom the start node. A Return node with a required value sets the workflow's result. - One reference syntax A node's output is read as
{{ nodes.<node>.<variable> }}in fields and as plainnodes.<node>.<variable>in JavaScript code. The old unprefixed form is a compile error with a hint, andargsandnodesare reserved names. - Typed outputs Output variables carry a type, and the code editor receives type declarations for
argsandnodes. - New nodes Run Report returns rows or a PDF, Excel, CSV, JSON or HTML export. Handle Errors is a try and catch. Mailbox actions and spreadsheet reading join them, and the Jump loop now loops.
The editor
- References picked, not typed A variable picker inserts a reference at the cursor. Renaming a node rewrites every reference to it, and a field that reads a missing node is flagged.
- A details panel Settings lists the node's problems, each one linking to its control. Output shows the variables the node makes and where they are read. About describes the node.
- Canvas Nodes show a summary and label their branches, edges are coloured per branch, the palette is searchable, and undo, redo, duplicate and delete have shortcuts.
The compiler and its scope analysis are documented next to the code. A reference in the old form now fails at compile time, and one to a missing node is flagged in the editor before the workflow is saved.