Skip to main content

The Block object

Execute actions 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