Skip to content

dbo.EthTasks ​

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

Columns ​

#ColumnTypeNullableFlagsDescription
1TaskIduniqueidentifiernoUnique identifier of the background/queued task.
2JobIduniqueidentifieryesIdentifier of the Prime Ecosystem job the task relates to, if applicable.
3UserIduniqueidentifiernoIdentifier of the user the task was created for or by.
4TaskTypenvarchar(50)noType of the task, determining what background process handles it.
5Descriptionnvarchar(MAX)yesFree-text description of the task.
6Statusnvarchar(20)noCurrent processing status of the task (e.g. pending, completed, failed).
7ScheduledAtdatetime2(7)yesDate/time (UTC) the task is scheduled to run; pending tasks are only picked up once this time has passed.
8CompletedAtdatetime2(7)yesDate/time the task finished processing.
9RetriesintnoNumber of times processing of the task has been retried.
10Payloadnvarchar(MAX)yesJSON payload containing the data needed to process the task.
11CreatedAtdatetime2(7)noDate/time the task was created.
12UpdatedAtdatetime2(7)noDate/time the task record was last updated.

Indexes ​

NameTypeUniquePKKey columnsIncludedFilter
PK__EthTasks__7C6949B149E8045ECLUSTEREDyesyesTaskId

Referenced by ​

Procedures: dbo.spEthCreateAppointment, dbo.spEthGetPendingTasks, dbo.spEthUpdateTaskStatus