Optional
rootThe root task execution.
Optional
parentThe parent task execution.
The task id.
The task execution id.
The shutdown signal of the task. It is set when the executor is shutting down.
The abort signal of the task. It is cancelled when the task gets cancelled or times out.
The attempt number of the task. The first attempt is 0, the second attempt is 1, etc.
Optional
prevThe error of the previous attempt.
Runtime context provided to every task execution, containing metadata, signals and information about the execution environment.
Context Properties
taskId
,executionId
- Unique identifiersroot
,parent
- Task relationship informationshutdownSignal
,abortSignal
- For graceful terminationattempt
,prevError
- Retry attempt informationExample