Skip to main content

The supplier who went quiet

A supplier's hourly files stop arriving in the middle of the night; Lattice notices the silence, the team hears about it from a business event, and the data management consultant finds the cause, gets the files flowing again and tunes the job so the next silence is caught sooner.

The situation​

Contoso Entertainment System USA (legal entity USMF) buys components from vendor US-101. The vendor's order system sends a file every hour, around the clock, with confirmed delivery dates for Contoso's open purchase orders. The file goes to a data management recurring data job, US-101 delivery confirmations, which imports it through a data project; the job's processing batch job runs every 15 minutes in USMF. Buyers rely on the dates to promise deliveries to their own customers.

Two people look after the job:

  • Lena, data management consultant, built the data project and the job. Lena holds the Integration operator role, like every data management consultant at Contoso, and the Integration administrator role as well, because Lena also owns the job's client applications and thresholds.
  • Sam, system administrator, holds the System administrator role and manages the standard pages Lattice roles do not grant: Microsoft Entra ID applications and the Business events catalog.

At go-live, Lena set the job's Silence period (minutes) to 240 and Alerts enabled to Yes on the Health thresholds tab, and Sam activated Recurring data job health changed for USMF, where the job's processing batch job runs. A Power Automate flow subscribed to the event posts each health change in the integration team's channel.

On Monday at 23:00, as part of a credential clean-up, the vendor's IT team replaced the application registration its upload tool signs in with. The new registration has a new client ID that nobody at Contoso knows about. From midnight on, every upload is refused.

Why it matters​

  • A silent job looks like a quiet job. Data management raises nothing when files simply stop: there is no failed message, no error and no backlog, just no new data.
  • Every hour without a file is an hour of delivery dates the buyers do not see. By the afternoon they would be promising dates that are already wrong.
  • The vendor's tool keeps the refused files, so nothing is lost if the cause is found the same day.

What Lena does​

Tuesday 03:15: Lattice notices the silence​

  1. The Lattice recurring data job health alerts background process evaluates every recurring data job every 15 minutes; nobody schedules it. At 03:15 it is more than 240 minutes since the job's last message, so the job turns Warning with the reason "No message in the last 240 minutes." See Lattice recurring data job health alerts.
  2. The health changed and the job has alerts on, so the process raises Recurring data job health changed in USMF. The flow posts it in the channel: jobName, previousHealthStateName Healthy, healthStateName Warning, the reason, lastMessageDateTime 23:00 and enabledClientCount 1. The event is sent once for the change; the job is not reported again while it stays Warning. See Recurring data job health changed.

Tuesday 08:00: Lena rules out Finance and Operations​

  1. Lena reads the alert, then opens System administration > Inquiries > Lattice > Integration operations > Recurring integration health and selects Needs attention only. The job shows Health Warning with the silence reason; the Silent recurring jobs tile on the Integration operations workspace counts it too. Lena selects Refresh health to evaluate it now: still Warning. See I want to check that my recurring data jobs are healthy.

  2. On Recurring integration details, the Health tab shows Waiting messages 0, Failed messages 0, Stuck messages 0, Mapping errors 0 and Enabled clients 1, and Last message 23:00. On the Recurring data job tab, Job state is Active and Processing batch job status is Waiting.

  3. Lena reads that as a clean bill for Finance and Operations. A stopped batch job, an import job with no enabled client or a mapping error would each have made the job Broken, and a file that arrived but failed would show as a failed message. Nothing has arrived since 23:00. On Messages, the last message is Processed, and its Enqueued by is the integration user the vendor's application is mapped to.

    Why not Repair? Repair puts a job's stopped batch jobs back to waiting. Nothing on the Finance and Operations side has stopped, so it would change nothing here.

  4. Lena calls the vendor. Their upload tool has logged a refusal for every file since midnight, which their IT team links to the new application registration. They send Lena the new client ID.

Tuesday 08:30: the files flow again​

  1. Sam registers the new client ID on System administration > Setup > Microsoft Entra ID applications, mapped to the same integration user as the old registration. See Run recurring data jobs.
  2. On Recurring integration details, Client applications tab, Lena selects Add client application, enters the new Client id and selects OK: "Client application '...' can now submit messages to recurring data job 'US-101 delivery confirmations'." The job is evaluated again at once and stays Warning, because no new message has arrived yet. See I want to let another client application submit to a recurring data job.
  3. The vendor resends the files it kept since midnight. Waiting messages rises, and the processing batch job works through them on its next runs.
  4. Lena selects Refresh health. The job is Healthy, with no reasons, and the change raises Recurring data job health changed again, so the channel sees the recovery the same way it saw the problem.
  5. Once the vendor confirms the new registration works, Lena selects the old client ID on Client applications and selects Disable client application. Lena added the new one first on purpose: an active import job with no enabled client turns Broken with "No client application is enabled to submit messages to this job." Lena removes the old one later with Manage authorization policy.

Afterwards: tuning the job​

  1. More than four hours passed between the last file and the alert. The vendor sends every hour, so on the Health thresholds tab Lena lowers Silence period (minutes) to 90: one missed file plus a margin for a late one. The other thresholds stay at 0, which uses the defaults. Saving evaluates the job again. See I want to set the health thresholds of a recurring data job.
  2. Values in use now shows Silence period in use (minutes) 90 next to the defaults: Failure window in use (hours) 24, and a Backlog age in use (minutes) of three recurrence intervals of the job, 45. With evaluations every 15 minutes, the next silence is reported within about 105 minutes of the last file.
  3. Lena adds the job's thresholds to the team's configuration data project through the Recurring data job health entity (LatticeRecurringJobHealths), so the test environment measures the job the same way production does.
  4. Contoso and the vendor agree that credential changes are announced a week ahead, with the new client ID, so it can be authorized before the old one goes.

What changed​

  • The silence was noticed without anyone watching. The health evaluation turned a missing file into a named reason, and the business event put it in front of the team before the working day began.
  • The diagnosis took minutes. The health signals ruled out every cause inside Finance and Operations, which sent Lena straight to the vendor instead of into batch jobs and mappings.
  • No data was lost. The new client was authorized without a gap in enabled clients, and the resent files were processed in order.
  • The next silence is caught in under two hours, not four, and the threshold travels with the rest of the configuration.

For the business: buyers saw the night's delivery dates by mid-morning, and a supplier outage became a short, explained delay instead of a day of wrong promises.

Try it yourself​

In a sandbox with the USMF demo data:

  1. Create an import data project and a recurring data job with an enabled client application, and activate it, as in I want to create a data project and a recurring data job by hand.
  2. On Recurring integration details, Health thresholds tab, set Silence period (minutes) to 30 and Alerts enabled to Yes. See Recurring data job health thresholds.
  3. On the standard Business events catalog, activate Recurring data job health changed for USMF on a test endpoint, as in I want to be told when a recurring data job changes health.
  4. Submit one file, then stop. After more than 30 minutes, select Refresh health (or wait for the next evaluation): the job turns Warning and the event arrives. Submit another file and refresh again to see it return to Healthy.
  5. Add a second client application, then disable the first, and watch Enabled clients on the Health tab.