Utilities / Manufacturingโ—† Realistic composite#field-service#integration#ldv#sla

Utilities and manufacturing asset service

IoT asset alerts arrive as Platform Events, are correlated into a single Case per incident, and become Field Service work orders that are scheduled, dispatched and synced back to the EAM/ERP.

Illustrative design parameters: an industrial equipment manufacturer servicing tens of thousands of connected assets at customer sites under service contracts, with a field engineering team. The same pattern fits utility networks.

Your confidence:Not rated
ADR-01

Where alert correlation happens

Context: Raw telemetry produces many anomaly signals per fault. Early prototypes created one case per signal.

Where are alerts de-duplicated and correlated?

In Salesforce (Flow or Apex on raw alerts)
โœ… In the IoT stream processor before publishing to Salesforce
Manually by a monitoring team
Rationale

Stream processors are built for windowing and correlation at telemetry scale. Salesforce receives only actionable incidents, protecting event allocations, automation limits and case volume.

Trade-offs accepted
  • Correlation rules live in the IoT team's codebase, so they need joint governance.
  • Salesforce still de-duplicates by incident key as a second line of defence.
  • Some correlation context must be passed in the event payload.
ADR-02

Ingestion mechanism

Context: Incidents must create or update cases reliably, including during fault cascades.

Platform Events or direct REST case inserts?

Direct REST API inserts of Case
โœ… High-volume Platform Events with an Apex trigger subscriber
Change Data Capture from an IoT database
Rationale

Events decouple publisher and consumer, allow replay after an outage, and are processed in batches by the trigger โš‘ verify current batch size and allocations. An idempotent upsert on the incident key makes replays safe.

Trade-offs accepted
  • Event allocations must be sized and monitored.
  • Asynchronous, so the publisher doesn't get a case number back synchronously.
  • Subscriber errors need explicit handling (retry via EventBus.RetryableException or dead-letter logging).
ADR-03

Work management system

Context: The ERP has a maintenance module with its own scheduling. Field Operations wanted better scheduling and a modern mobile app.

Which system manages field work execution?

ERP maintenance module end to end
โœ… Salesforce Field Service for scheduling and mobile; ERP keeps asset master, parts and finance
A third-party field service tool
Rationale

Scheduling optimisation, offline mobile and the link to the customer case and SLA sit naturally in Salesforce. Financial and inventory integrity stays in the ERP.

Trade-offs accepted
  • Bidirectional integration for work orders and parts.
  • Two systems for maintenance history, so the boundary is documented per attribute.
  • Field Service licensing and change management for engineers.
ADR-04

Asset modelling

Context: Customer sites contain systems made of components, and alerts arrive at component level.

How are installed assets modelled?

โœ… Standard Asset with parent/child hierarchy
Custom Equipment__c objects
A flat Asset list with site text fields
Rationale

It's native to Field Service, entitlements and work orders, supports asset hierarchy views, and avoids custom plumbing.

Trade-offs accepted
  • Very large sites risk lookup skew on top-level parent assets, so hierarchies stay shallow and inserts are batched.
  • The ERP functional location model has to map onto it.