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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ArchiveServiceArchiveTypeKind of archiving done, such as move to history, move to data lake, purge or reverse from history. | EnumArchiveServiceArchiveType (enum) | No | None | |
ArchiveServiceJobIdUnique ID of the archive service job. | GuidArchiveServiceJobId | No | None | |
ArchiveServiceJobIdBeingReversedID of the earlier job that this job reverses. | GuidArchiveServiceJobId | No | None | |
ArchiveServiceJobStatusCurrent state of the job, such as scheduled, executing, completed, failed or canceled. | EnumArchiveServiceJobStatus (enum) | No | None | |
ArchiveServiceJobTypeKind of job: archive, reversal or purge. | EnumArchiveServiceJobType (enum) | No | None | |
ArchiveServiceTypePoints to the archive service type record used for this job. | Int64 | No | ArchiveServiceType.RecId | None |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
HasCompletedRetentionYes or No value showing whether the retention step has finished. | EnumNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProcessScheduleSeriesOccurrencePoints to the process automation schedule occurrence linked to the job. | Int64RefRecId | No | ProcessScheduleOccurrence.RecId | None |
ProcessScheduleSeriesPatternPoints to the schedule series pattern linked to the job. | Int64RefRecId | No | ProcessScheduleSeriesPattern.RecId | None |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (3)
ArchiveServiceJobIdUnique.
ProcessScheduleSeriesPatternOccurrenceProcessScheduleSeriesPattern,ProcessScheduleSeriesOccurrenceNot unique.
TypePatternAndOccurrenceArchiveServiceType,ProcessScheduleSeriesPattern,ProcessScheduleSeriesOccurrenceNot unique.
Relations (3)
Each relation joins ArchiveServiceJobHistory to another table on the fields shown.
ArchiveServiceType→ArchiveServiceTypeJoin on
ArchiveServiceType = ArchiveServiceType.RecIdCardinality not set in the metadata.
ProcessScheduleSeriesPattern→ProcessScheduleSeriesPatternJoin on
ProcessScheduleSeriesPattern = ProcessScheduleSeriesPattern.RecIdMany ArchiveServiceJobHistory records → zero or one ProcessScheduleSeriesPattern record
ProcessScheduleOccurrence→ProcessScheduleOccurrenceJoin on
ProcessScheduleSeriesOccurrence = ProcessScheduleOccurrence.RecIdMany 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.