Skip to main content

The Branch block

Branch logic within a workflow.

Properties

All properties for this object with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read property values.

data

The data.

Type array
Format Custom data
Configurability Read-only
Defaultnull
Examples
{"key": "value"}

error

The error message if the action was unsuccessful.

Type string
Format Plain Text
Configurability Read-only
Defaultnull
Examples
"Error: Something went wrong"

metadata

Relevant metadata for the item.

Type array
Array values object
Configurability Read-only
Defaultnull

Settings

You can configure the following settings for Branch blocks.

Timeout after (ms)

The duration to wait before the block times out. Default is 10000.