Skip to main content

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​

NameTypeDescription
eventSequenceint64Gets or sets the ordering sequence of this emission.
correlationIdstrGets or sets the identifier grouping emissions that belong to one logical run or flow.
schemaVersionintGets or sets the payload schema version of the emitting contract.
legalEntityDataAreaIdGets 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.
jobNameIntegrationNameGets or sets the recurring data job's name.
activityIdstrGets or sets the recurring data job's activity id, in lower case without braces (the form OData returns).
directionintGets or sets the job's direction as an integer (IntegrationDirection: 0 Inbound = import, 1 Outbound = export).
directionNamestrGets or sets the job's direction as the enum symbol (Inbound or Outbound).
jobStateintGets or sets the job's state as an integer (IntegrationActivityState: 0 Inactive, 1 Active).
jobStateNamestrGets or sets the job's state as the enum symbol (Inactive or Active).
dataProjectDMFDefinitionGroupNameGets or sets the data project (definition group) the job runs.
healthStateintGets or sets the new health state as an integer (0 Inactive, 1 Healthy, 2 Warning, 3 Failing, 4 Broken; a larger value is worse).
healthStateNamestrGets or sets the new health state as the enum symbol.
previousHealthStateintGets or sets the health state before this change as an integer (same values as healthState).
previousHealthStateNamestrGets or sets the health state before this change as the enum symbol.
stateChangedDateTimeutcdatetimeGets or sets when the evaluation that changed the state ran (UTC).
evaluatedDateTimeutcdatetimeGets or sets when the job was last evaluated (UTC); equal to stateChangedDateTime for the evaluation that raised the event.
reasonsListGets or sets the reasons for the new state, one sentence each, worst first; empty when the job is Healthy or Inactive.
backlogCountintGets or sets the messages waiting (import: enqueued; export: produced and not acknowledged).
oldestBacklogDateTimeutcdatetimeGets or sets when the oldest waiting message was enqueued (export: produced); empty when nothing waits.
backlogAgeMinutesintGets or sets the age in minutes of the oldest waiting message at the evaluation; 0 when nothing waits.
failedMessageCountintGets or sets the messages that failed in the failure window.
windowHoursintGets or sets the failure window in hours that the failure counts cover (the job's threshold, or the default 24).
partialExecutionCountintGets or sets the messages processed in the failure window whose execution recorded staging or target errors.
lastMessageDateTimeutcdatetimeGets or sets when the newest message was enqueued (export: when the newest export started); empty when the job has no message.
stuckMessageCountintGets or sets the messages processing for longer than the stuck threshold.
enabledClientCountintGets or sets the client applications allowed to submit to the job.
mappingErrorCountintGets or sets the mapping errors found on the job's data project.
processingBatchJobIdint64Gets or sets the record id of the job's processing batch job; 0 when the job has none or it no longer exists.
processingBatchJobStatusNamestrGets or sets the processing batch job's status as the BatchStatus enum symbol; empty when processingBatchJobId is 0.
monitoringBatchJobIdint64Gets or sets the record id of the job's monitoring batch job; 0 when the job has none or it no longer exists.
monitoringBatchJobStatusNamestrGets or sets the monitoring batch job's status as the BatchStatus enum symbol; empty when monitoringBatchJobId is 0.