Interface WorkflowEventPublicationContext
- All Known Subinterfaces:
WorkflowExecutionOperations
- All Known Implementing Classes:
WorkflowExecutionOperationsDelegation
Read-only execution data required to create workflow event messages.
This internal contract deliberately excludes execution primitives. It lets event-message construction depend on the values it needs without depending on the runtime's primitive-operation surface.
- Since:
- 5.4.0
- Author:
- Simon Zambrovski
-
Method Summary
Modifier and TypeMethodDescriptionReturns the processing context of the current workflow execution.Returns the unique workflow execution identifier.Returns the current workflow payload.Returns the workflow definition version currently used by this execution.
-
Method Details
-
workflowId
String workflowId()Returns the unique workflow execution identifier.- Returns:
- the workflow identifier
-
workflowVersion
String workflowVersion()Returns the workflow definition version currently used by this execution.- Returns:
- the workflow definition version
-
workflowPayload
Returns the current workflow payload.- Returns:
- the workflow payload
-
processingContext
ProcessingContext processingContext()Returns the processing context of the current workflow execution.- Returns:
- the processing context
-