Skip to main content

The Workflow Context object

Information about the current 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.

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
"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