Table

ArchiveServiceJobHistory

Archive service job history

Records each archive service job, with its type, status and archive type. It links to the archive service type and to the process schedule series and occurrence. A job can also point to another job that it reverses.

Table name
ArchiveServiceJobHistory
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
ArchiveService

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ArchiveServiceArchiveTypeKind of archiving done, such as move to history, move to data lake, purge or reverse from history.Enum
ArchiveServiceArchiveType (enum)
NoNone
ArchiveServiceJobIdUnique ID of the archive service job.Guid
ArchiveServiceJobId
NoNone
ArchiveServiceJobIdBeingReversedID of the earlier job that this job reverses.Guid
ArchiveServiceJobId
NoNone
ArchiveServiceJobStatusCurrent state of the job, such as scheduled, executing, completed, failed or canceled.Enum
ArchiveServiceJobStatus (enum)
NoNone
ArchiveServiceJobTypeKind of job: archive, reversal or purge.Enum
ArchiveServiceJobType (enum)
NoNone
ArchiveServiceTypePoints to the archive service type record used for this job.Int64NoArchiveServiceType.RecIdNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
HasCompletedRetentionYes or No value showing whether the retention step has finished.Enum
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProcessScheduleSeriesOccurrencePoints to the process automation schedule occurrence linked to the job.Int64
RefRecId
NoProcessScheduleOccurrence.RecIdNone
ProcessScheduleSeriesPatternPoints to the schedule series pattern linked to the job.Int64
RefRecId
NoProcessScheduleSeriesPattern.RecIdNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (3)

Relations (3)

Each relation joins ArchiveServiceJobHistory to another table on the fields shown.

  • ArchiveServiceType → ArchiveServiceType

    Join on ArchiveServiceType = ArchiveServiceType.RecId

    Cardinality not set in the metadata.

  • ProcessScheduleSeriesPattern → ProcessScheduleSeriesPattern

    Join on ProcessScheduleSeriesPattern = ProcessScheduleSeriesPattern.RecId

    Many ArchiveServiceJobHistory records → zero or one ProcessScheduleSeriesPattern record

  • ProcessScheduleOccurrence → ProcessScheduleOccurrence

    Join on ProcessScheduleSeriesOccurrence = ProcessScheduleOccurrence.RecId

    Many ArchiveServiceJobHistory records → zero or one ProcessScheduleOccurrence record

Get this data out

No public entity reads from ArchiveServiceJobHistory. Its data is only reachable through the application, a custom entity or a database export.

Need help with ArchiveServiceJobHistory in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk