Advanced Configuration
Advanced configuration options in Wire Flow — task timeout, iteration, retry, error handling, branching logic, and fail end events.
Last updated
Advanced configuration options in Wire Flow — task timeout, iteration, retry, error handling, branching logic, and fail end events.
Only available for some tasks. Set a maximum execution time per task:

Timeout (seconds)
If exceeded, the task fails with a timeout error
A timeout error can be caught by an Error Boundary event and routed to a fallback path.
JSONata and Wait tasks do not support timeout. JSONata is a pass-through operation; Wait has its own timing mechanism.
Any task (except JSONata) can iterate over an array from the previous step's output:

Items Path
Path to the array in the workflow state, e.g., $.body.items
Max Concurrency
Number of parallel iterations (empty = unlimited)
When set, the task executes once per item. A Map label appears on the node.
Any task (except JSONata) can retry automatically on failure:

Max Attempts
Number of retries
Interval (seconds)
1
Initial delay between retries
Backoff Rate
2.0
Exponential multiplier per retry
Example — Max Attempts: 3, Interval: 2, Backoff Rate: 2.0:
1st retry after 2s, 2nd after 4s, 3rd after 8s
To catch errors from a specific task and route to a fallback:
Drag an Error Boundary Event from the palette.
Drop it on the edge of the task node (it snaps to the border).
Connect the boundary event to a fallback task or End Event.


Error Codes
Comma-separated list. Leave empty to catch all errors
Place an Exclusive Gateway on the canvas.

Connect it to two or more downstream tasks.

Click each sequence flow arrow to set its condition, or click the gateway to set all conditions at once.

JSONata Gateway Condition
Evaluates to true/false, e.g., $states.input.statusCode = 200
Default flow
Checkbox — taken when no other condition matches
Always mark one outgoing flow as Default to prevent dead ends.

Place a Parallel Gateway to fork execution.
Connect it to multiple downstream paths.

Optionally, place a second Parallel Gateway downstream to join all branches.

All branches execute simultaneously. The join waits for all branches to complete before continuing.

By default, reaching an End Event means success. To terminate with an explicit failure:
Click the End Event node.
Set Error Code (e.g., ValidationError) and Error Cause (human-readable description).

When an Error Code is set, the workflow terminates with a labelled failure — useful for signalling different failure modes to calling systems.
Last updated