Skip to content

dbo.ethTask ​

Info Generated by scripts/Generate-DataDictionary.ps1 - do not edit by hand. Edit descriptions in schemas/tables/dbo.ethTask.json and regenerate.

Columns ​

#ColumnTypeNullableFlagsDescription
1IDintnoidentityIdentity primary key of the background task record.
2TaskNamenvarchar(100)noName identifying the type of background task to run (e.g. which job processor should pick this task up).
3PrimeObjectIDuniqueidentifieryesPrime Ecosystem object identifier (e.g. job id) this task operates on, if applicable.
4CreatedAtdatetimenoDate and time the task record was created/queued.
5QueuedFordatetimenoDate and time the task becomes eligible to run; tasks are picked up once this time has passed and they are not yet completed.
6PrimeJobNumbernvarchar(50)yesPrime Ecosystem job number this task relates to, if applicable.
7PrimeJobURLnvarchar(100)yesDirect URL to the related job in Prime Ecosystem, if applicable.
8AttemptCountintyesNumber of times processing of this task has been attempted.
9CompletedAtdatetimeyesDate and time the task finished processing; null while still pending/in progress.
10RepeatTaskbitnoFlag (1 = this task should be re-queued/repeated rather than run once).
11StatusDescriptionnvarchar(512)yesFree-text status/result message describing the outcome or state of processing this task.
12EthObjectIDintyesIdentifier of a related Ethos-side (non-Prime Ecosystem) record this task operates on, if applicable.

Indexes ​

NameTypeUniquePKKey columnsIncludedFilter
UX_ethTask_Open_AIPrimeGetJobSummaryQueueNONCLUSTEREDyesPrimeObjectID([CompletedAt] IS NULL AND [TaskName]='AIPrimeGetJobSummaryQueue')

Relationships (inferred) ​

FromToConfidence
dbo.ethTask.PrimeObjectIDdbo.primeJobs.Idhigh
dbo.ethTask.PrimeObjectIDdbo.ethBooking.primeJobIDhigh

Referenced by ​

Procedures: dbo.spEthAIPrimeUpsertJobSummaryQueue, dbo.spEthBookingGet, dbo.spEthNexusECDQueueTasks, dbo.spEthPeerReviewTaskCheck, dbo.spEthRepairlineJobDatesQueueTasks, dbo.spEthSedgwickJobDatesqueueTasks, dbo.spEthTaskComplete, dbo.spEthTaskDelete, dbo.spEthTaskDeleteForObject, dbo.spEthTaskGetCount, dbo.spEthTaskGetNext, dbo.spEthTaskGetNextX, dbo.spEthTaskIncrementAttempt, dbo.spEthTaskInsert, dbo.spEthTaskInsertbyJobNumber, dbo.spEthTaskInsertMakeSafeAllocation