Skip to main content

The Workflow Context object

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.

currentRun​

Information about the current run of the workflow.

Type object
Configurability Read-only
Defaultnull

environment​

The environment in use by the workflow.

Type string
Format Plain Text
Configurability Read-only
Defaultnull
Examples
false"production"

lastRun​

Information about the last run of the workflow.

Type object
Configurability Read-only
Defaultnull

lastSuccessfulRun​

Information about the last successful run of the workflow.

Type object
Configurability Read-only
Defaultnull

triggerType​

Information about the trigger type used by the workflow.

Type object
Configurability Read-only
Defaultnull