stepIdnumber
The ID of the step which increases monotonically.
stepNamestring
The name of the step. It is specified in workflow by user.
stepTypestring
Execution type of the step which indicates type of the context function.
| Value | Function |
|---|
Initial | The default step which created automatically |
Run | context.run() |
Call | context.call() |
SleepFor | context.sleepFor() |
SleepUntil | context.sleepUntil() |
Wait | context.waitForEvent() |
Notify | context.notify() |
Invoke | context.invoke() |
messageIdstring
The ID of the message associated with this step.
outstring
The output returned by the step
concurrentstring
The total number of concurrent steps that is running alongside this step
statestring
The state of this step at this point in time
| Value |
|---|
STEP_SUCCESS |
STEP_RETRY |
STEP_FAILED |
STEP_CANCELED |
createdAtstring
The unix timestamp in milliseconds when the message associated with this step has created.
nextDeliveryTimenumber
The unix timestamp in milliseconds when this step will be retried.
This is set only when the step state is STEP_RETRY
The following fields are set only when a specific type of step is executing. These fields are not available for all step types.
sleepForstring
The duration in milliseconds which step will sleep. Only set if stepType is SleepFor.
sleepUntilstring
The unix timestamp (in milliseconds) which step will sleep until. Only set if stepType is SleepUntil.
waitEventIdstring
The event id of the wait step. Only set if stepType is Wait.
waitTimeoutDeadlinestring
The unix timestamp (in milliseconds) when the wait will time out.
waitTimeoutDurationstring
The duration of timeout in human readable format (e.g. 120s, 1m, 1h).
waitTimeoutstring
Set to true if this step is cause of a wait timeout rather than notifying the waiter.
callUrlstring
The URL of the external address. Available only if stepType is Call.
callMethodstring
The HTTP method of the request sent to the external address. Available only if stepType is Call.
callHeadersstring
The HTTP headers of the request sent to the external address. Available only if stepType is Call.
callBodystring
The body of the request sent to the external address. Available only if stepType is Call.
callResponseStatusnumber
The HTTP status returned by the external call. Available only if stepType is Call.
callResponseBodystring
The body returned by the external call. Available only if stepType is Call.
callResponseHeadersarray
The HTTP headers returned by the external call. Available only if stepType is Call.
invokedWorkflowRunIdstring
The ID of the invoked workflow run if this step is an invoke step.
invokedWorkflowUrlstring
The URL address of the workflow server of invoked workflow run if this step is an invoke step.
invokedWorkflowCreatedAtnumber
The Unix timestamp (in milliseconds) when the invoked workflow was started if this step is an invoke step.
invokedWorkflowRunBodystring
The body passed to the invoked workflow if this step is an invoke step.
invokedWorkflowRunHeadersstring
The HTTP headers passed to invoked workflow if this step is an invoke step.