Table
BackgroundOperationHistory
Holds a history of background operations. Each record shows the class run, its start and end times, the user it ran as, its state and status, any error, and its input and output parameters.
- Table name
BackgroundOperationHistory- Module
System administration- Table group
Miscellaneous- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
ApplicationPlatform
Fields (20)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CaptionShort description of the operation. | String (512) | No | None | |
ClassNameName of the class that ran the operation. | String (512) | Yes | None | |
CompanyCompany the operation ran in. | String (8) | Yes | None | |
CreatedOnDate and time the record was created. | UtcDateTime | Yes | None | |
EndTimeDate and time the operation ended. | UtcDateTime | No | None | |
ErrorCodeNumber of the error, if the operation failed. | Integer | No | None | |
ErrorMessageText of the error message, if there was one. | String (512) | No | None | |
InputParametersInput parameters passed to the operation, as text. | String (1260)Str1260 | No | None | |
OperationIdUnique GUID of the operation. | GuidSysGuid | Yes | None | |
OutputParametersOutput parameters returned by the operation, as text. | String (1260)Str1260 | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PriorityScheduling priority of the operation, from low to reserved capacity. | EnumBatchSchedulingPriority (enum) | No | None | |
RanAsUser the operation ran as. | String (40) | Yes | 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 | |
RetryCountNumber of times the operation was retried. | Integer | No | None | |
StartTimeDate and time the operation started. | UtcDateTime | No | None | |
StateCodeState of the operation: ready, suspended, locked or completed. | EnumBackgroundOperationStateCode (enum) | Yes | None | |
StatusCodeStatus of the operation, such as waiting, in progress, succeeded or failed. | EnumBackgroundOperationStatusCode (enum) | Yes | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Get this data out
No public entity reads from BackgroundOperationHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with BackgroundOperationHistory in a report, an integration or a migration? Talk to Dr Dynamics.