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