MGCLatticeRecurringJobHealthChangedBusinessEvent
Business event raised when the health state of a recurring data job changes (for example Healthy to Failing, or Broken back to Healthy), for a job whose health row has alerts switched on (AlertsEnabled). It is the summary of a job's state; MGCLatticeDMFExecutionCompletedBusinessEvent stays the per-execution detail.
- Event id:
MGCLatticeRecurringJobHealthChangedBusinessEvent - Contract class:
MGCLatticeRecurringJobHealthChangedBusinessEventContract
Payload fields
| Name | Type | Description |
|---|---|---|
eventSequence | int64 | Gets or sets the ordering sequence of this emission. |
correlationId | str | Gets or sets the identifier grouping emissions that belong to one logical run or flow. |
schemaVersion | int | Gets or sets the payload schema version of the emitting contract. |
legalEntity | DataAreaId | Gets or sets the legal entity the event is raised in (the company of the job's processing batch job, or the current company when it has none), in lower case. |
jobName | IntegrationName | Gets or sets the recurring data job's name. |
activityId | str | Gets or sets the recurring data job's activity id, in lower case without braces (the form OData returns). |
direction | int | Gets or sets the job's direction as an integer (IntegrationDirection: 0 Inbound = import, 1 Outbound = export). |
directionName | str | Gets or sets the job's direction as the enum symbol (Inbound or Outbound). |
jobState | int | Gets or sets the job's state as an integer (IntegrationActivityState: 0 Inactive, 1 Active). |
jobStateName | str | Gets or sets the job's state as the enum symbol (Inactive or Active). |
dataProject | DMFDefinitionGroupName | Gets or sets the data project (definition group) the job runs. |
healthState | int | Gets or sets the new health state as an integer (0 Inactive, 1 Healthy, 2 Warning, 3 Failing, 4 Broken; a larger value is worse). |
healthStateName | str | Gets or sets the new health state as the enum symbol. |
previousHealthState | int | Gets or sets the health state before this change as an integer (same values as healthState). |
previousHealthStateName | str | Gets or sets the health state before this change as the enum symbol. |
stateChangedDateTime | utcdatetime | Gets or sets when the evaluation that changed the state ran (UTC). |
evaluatedDateTime | utcdatetime | Gets or sets when the job was last evaluated (UTC); equal to stateChangedDateTime for the evaluation that raised the event. |
reasons | List | Gets or sets the reasons for the new state, one sentence each, worst first; empty when the job is Healthy or Inactive. |
backlogCount | int | Gets or sets the messages waiting (import: enqueued; export: produced and not acknowledged). |
oldestBacklogDateTime | utcdatetime | Gets or sets when the oldest waiting message was enqueued (export: produced); empty when nothing waits. |
backlogAgeMinutes | int | Gets or sets the age in minutes of the oldest waiting message at the evaluation; 0 when nothing waits. |
failedMessageCount | int | Gets or sets the messages that failed in the failure window. |
windowHours | int | Gets or sets the failure window in hours that the failure counts cover (the job's threshold, or the default 24). |
partialExecutionCount | int | Gets or sets the messages processed in the failure window whose execution recorded staging or target errors. |
lastMessageDateTime | utcdatetime | Gets or sets when the newest message was enqueued (export: when the newest export started); empty when the job has no message. |
stuckMessageCount | int | Gets or sets the messages processing for longer than the stuck threshold. |
enabledClientCount | int | Gets or sets the client applications allowed to submit to the job. |
mappingErrorCount | int | Gets or sets the mapping errors found on the job's data project. |
processingBatchJobId | int64 | Gets or sets the record id of the job's processing batch job; 0 when the job has none or it no longer exists. |
processingBatchJobStatusName | str | Gets or sets the processing batch job's status as the BatchStatus enum symbol; empty when processingBatchJobId is 0. |
monitoringBatchJobId | int64 | Gets or sets the record id of the job's monitoring batch job; 0 when the job has none or it no longer exists. |
monitoringBatchJobStatusName | str | Gets or sets the monitoring batch job's status as the BatchStatus enum symbol; empty when monitoringBatchJobId is 0. |