OptionalrootThe root task execution.
OptionalparentThe parent task execution.
The id of the task.
The id of the execution.
Whether the task execution is a sleeping task execution.
OptionalsleepingThe 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.
OptionalexecutorThe id of the executor.
The status of the execution.
Whether the execution is finished. Set on finish.
OptionalrunThe run output of the task execution. Deleted after the task execution is finished.
OptionaloutputThe output of the task execution.
OptionalerrorThe 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.
OptionalstartedThe time the task execution started. Set on start.
OptionalexpiresThe time the task execution expires. It is used to recover from process failures. Set on start.
OptionalwaitingThe time the task execution waiting for children starts.
OptionalwaitingThe time the task execution waiting for finalize starts.
OptionalfinishedThe time the task execution finished. Set on finish.
OptionalchildrenThe 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.
OptionalonThe time the on children finished processing expires. It is used to recover from process failures. Set on on children finished processing start.
OptionalonThe time the on children task executions finished processing finished. Set after on children finished processing finishes.
OptionalfinalizeThe 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.
OptionalcloseThe time the task execution close expires. It is used to recover from process failures. Set on closing process start.
OptionalclosedThe 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,parentretryOptions,timeoutMs,sleepMsBeforeRunstatus,isFinished,input,output,errorstartAt,startedAt,expiresAt,finishedAt, etc.children,finalize,activeChildrenCountcloseStatus,onChildrenFinishedProcessingStatus,needsPromiseCancellation