StepExecutionContext
The step's context.
Methods#
Properties#
- action
- attempt
- container
- context
- eventGroupId
- idempotencyKey
- metadata
- parentStepIdempotencyKey
- stepName
- transactionId
- workflowId
action
"invoke" | "compensate"The action of the step.
attempt
numberThe attempt number of the step.
container
MedusaContainerThe container used to access resources, such as services, in the step.
context
ContextA context used to share resources, such as transaction manager, between the application and the module.
context
ContextidempotencyKey
stringThe idempoency key of the step.
metadata
TransactionMetadataMetadata passed in the input.
stepName
stringThe name of the step.
workflowId
stringThe ID of the workflow.
eventGroupId
stringOptionalA string indicating the ID of the group to aggregate the events to be emitted at a later point.
parentStepIdempotencyKey
stringOptionalThe idempoency key of the parent step.
transactionId
stringOptionalA string indicating the ID of the current transaction.
Was this page helpful?