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.
Correlated asset alerts
The IoT side detects incidents and calls in, so it's Remote Call-In via events. Events decouple the publisher from Salesforce transaction limits and allow replay. Correlation upstream keeps volume sane.
- Protocol / API
- Pub/Sub API (gRPC) publish of Asset_Alert__e โ Apex trigger upserting Case on Incident_Key__c
- Middleware
- Cloud stream processing (no ESB on this path)
- Frequency / volume
- Proportional to real incidents after correlation; spikes in fault cascades
- Error handling and retry
- Idempotent upsert on Incident_Key__c. The subscriber resumes from the last replay ID after an outage. Publisher retries with backoff, and a dead-letter topic upstream.
- Security / auth
- Integration user with publish-only permission on the event (OAuth JWT bearer)
Asset master synchronisation
The asset master changes slowly and in volume, and real time adds nothing, so it's Batch Data Synchronization with upsert by external ID.
- Protocol / API
- Nightly delta via Bulk API 2.0 upsert on Erp_Asset_Id__c (parents before children)
- Middleware
- Integration platform scheduled job
- Frequency / volume
- Nightly deltas; full reconciliation weekly
- Error handling and retry
- Failed rows logged and retried. Hierarchy loaded parent-first to avoid lookup failures. Reconciliation report emailed to the data owner.
- Security / auth
- ERP sync integration user with scoped object access
Work completion to ERP
The engineer shouldn't wait for financial posting, and the ERP may be in a batch window. Fire and Forget with confirmation callback decouples field execution from ERP availability.
- Protocol / API
- Work order completion โ Platform Event โ integration platform โ ERP maintenance order confirmation and goods issue; callback with ERP reference
- Middleware
- Integration platform
- Frequency / volume
- Per completed work order
- Error handling and retry
- Idempotent on work order ID. A rejected posting creates a back-office task, and a daily reconciliation runs.
- Security / auth
- Publish-only integration user; ERP service account in the middleware
Spare-parts availability
The dispatcher needs current stock before committing an appointment, so it's synchronous Request and Reply.
- Protocol / API
- Apex โ Named Credential โ integration platform โ ERP stock API
- Middleware
- Integration platform
- Frequency / volume
- At work order creation and scheduling
- Error handling and retry
- Timeout with 'availability unknown'. The dispatcher can proceed with a warning.
- Security / auth
- OAuth client credentials; read-only stock scope
Site access and hazards
GIS owns site data and changes it independently, so Data Virtualization shows the current hazards and access notes without copying them.
- Protocol / API
- Salesforce Connect OData โ Site_Location__x
- Middleware
- GIS OData service
- Frequency / volume
- On demand when viewing a work order
- Error handling and retry
- Read-only. Cached site notes on the work order are used if GIS is unavailable.
- Security / auth
- Named principal, read-only