Optional
rootThe root task execution.
Optional
parentThe parent task execution.
The id of the task.
The id of the execution.
Whether the task execution is a sleeping task execution.
Optional
sleepingThe unique id of the sleeping task execution. It is only present for sleeping task executions.
The retry options of the task execution.
The sleep ms before run of the task execution.
The timeout ms of the task execution.
Whether the children task executions are sequential. It is only present for
waiting_for_children
status.
The input of the task execution.
Optional
executorThe id of the executor.
The status of the execution.
Whether the execution is finished. Set on finish.
Optional
runThe run output of the task execution. Deleted after the task execution is finished.
Optional
outputThe output of the task execution.
Optional
errorThe error of the execution.
The number of attempts the execution has been retried.
The start time of the task execution. Used for delaying the execution. Set on enqueue.
Optional
startedThe time the task execution started. Set on start.
Optional
expiresThe time the task execution expires. It is used to recover from process failures. Set on start.
Optional
waitingThe time the task execution waiting for children starts.
Optional
waitingThe time the task execution waiting for finalize starts.
Optional
finishedThe time the task execution finished. Set on finish.
Optional
childrenThe children task executions of the execution. It is only present for waiting_for_children
status.
The number of active children task executions. It is only present for waiting_for_children
status.
The status of the on children finished processing.
Optional
onThe time the on children finished processing expires. It is used to recover from process failures. Set on on children finished processing start.
Optional
onThe time the on children task executions finished processing finished. Set after on children finished processing finishes.
Optional
finalizeThe finalize task execution of the execution.
Whether the execution is closed. Once the execution is finished, the closing process will update this field in the background.
Optional
closeThe time the task execution close expires. It is used to recover from process failures. Set on closing process start.
Optional
closedThe time the task execution was closed. Set on closing process finish.
Whether the execution needs a promise cancellation. Set on cancellation.
The time the task execution was created.
The time the task execution was updated.
Complete storage representation of a task execution including all metadata, relationships and state tracking fields.
This type represents the full database record for a task execution. All fields are used internally by the executor for state management, recovery and coordination.
Field Categories
taskId
,executionId
,root
,parent
retryOptions
,timeoutMs
,sleepMsBeforeRun
status
,isFinished
,input
,output
,error
startAt
,startedAt
,expiresAt
,finishedAt
, etc.children
,finalize
,activeChildrenCount
closeStatus
,onChildrenFinishedProcessingStatus
,needsPromiseCancellation