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 |
| Default | null |
environment
The environment in use by the workflow.
| Type | string |
| Format | Plain Text |
| Configurability | Read-only |
| Default | null |
Examples
false"production"
lastRun
Information about the last run of the workflow.
| Type | object |
| Configurability | Read-only |
| Default | null |
lastSuccessfulRun
Information about the last successful run of the workflow.
| Type | object |
| Configurability | Read-only |
| Default | null |
triggerType
Information about the trigger type used by the workflow.
| Type | object |
| Configurability | Read-only |
| Default | null |