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
Mutability Read-only

environment

The environment in use by the workflow.

Type string
Format Plain Text
Mutability Read-only
Examples
"production"

lastRun

Information about the last run of the workflow.

Type object
Mutability Read-only

lastSuccessfulRun

Information about the last successful run of the workflow.

Type object
Mutability Read-only