Documents / @faasjs/workflow / WorkflowStepContext
Type Alias: WorkflowStepContext<TParams>
WorkflowStepContext<
TParams> =object
Context passed to each workflow step handler.
Type Parameters
TParams
TParams = any
Properties
params
params:
TParams
Params persisted for this step.
step
step:
WorkflowStepRecord
Persisted current step row.
stepId
stepId:
string
Current step id.
stepName
stepName:
string
Current step name.
workflowId
workflowId:
string
Persisted workflow id.
workflowType
workflowType:
string
Workflow type from the definition.