Skip to main content

The workflowContext object

workflowContext contains information about the workflow.

Properties

workflowId
string

The unique ID of the workflow.

name
string

The name of the workflow.

description
string

The workflow description.

lastRun
object

Details about the most recent run of the workflow.

error
object

Details about the error if the workflow failed to run.

message
string

The error message.

startedAtEpochMs
number

The timestamp of the run, in UNIX time.

status
string

The status of the workflow run.

lastSuccessfulRun
object

Details about the last successful run of the workflow.

startedAtEpochMs
number

The timestamp of the run, in UNIX time.

status
string

The status of the workflow run.

currentRun
object

Details about the current run of the workflow.

error
object

Details about the error if the workflow failed to run.

message
string

The error message.

startedAtEpochMs
number

The timestamp of the run, in UNIX time.

status
string

The status of the workflow run.

environment
string

The selected environment.