Maker guide
Designing workflows
Draw a workflow, set its trigger, connect nodes with conditions and follow its runs.
Workflows lists the workflows, each with its trigger, number of nodes, last run and any problems. Read Workflows for how a run moves through the graph.
Making a workflow
Press New workflow and enter the name and what starts it:
- manual;
- an entity change, with its perspective;
- a schedule.
It's saved as start → Write to log → end, and the designer opens.
The designer
| Area | What's there |
|---|---|
| Left | The node types by category: built in, and from installed packages (marked with the package and version). The search box filters them. |
| Middle | The graph. |
| Right | Properties of the selection: the workflow, a node or a connection. |
Building the graph
- Drag a node type onto the graph, or press it.
- Drag from a node's right edge to another node to connect them, or onto empty canvas to end the run there.
- Drag nodes to move them. Delete removes the selection.
- Arrange lays the graph out from left to right.
Connections show their condition, or else, and are numbered in the order they're tried.
The workflow's properties
Select the canvas to see the workflow's display name, description, whether it's on, its trigger and, for a manual workflow, its inputs (each with a name, a type and whether it's required).
| Trigger | Settings |
|---|---|
| Manual | The inputs. |
| Entity change | The perspective; which operations (added, updated, deleted); optionally which fields an update must change. |
| Schedule | A cron expression in UTC, such as 0 7 * * 1-5 (07:00 on weekdays). |
A node's properties
- Its label, and its id. Rename changes the id everywhere it's used.
- Its inputs. Each has a menu of the values it can use: the run's start values, and the outputs of nodes that can
run before it. Picking one inserts a placeholder such as
{{check.values.total}}. - Its outputs, which later nodes and conditions can read.
A connection's properties
- Its condition, such as
input.after.orderTotal > 1000. Leave it empty for the else. - Try earlier and Try later change the order its node's connections are tried in. The else must be last.
Running and runs
- Run (for a saved manual workflow) asks for the inputs, starts a run and waits for it.
- Runs lists the runs, newest first. Choose one to see each step: the inputs as filled in, the outputs, the log, any error and the connection taken. Its path is highlighted on the graph.
Saving
Save sends the workflow. The server checks the whole graph (no cycles, every node reachable, every value available where it's used) and lists any problems. Workflows asks first if there are unsaved changes.