Design the automation for case escalation: priority defaults, VIP notifications, an SLA reminder and a callout to a warranty system.
Your confidence:Not rated
Model answer
| Need | Automation |
|---|---|
| Priority and category defaults | Before-save flow: entry on create or when Product changes |
| VIP notification | After-save flow: entry when Account.Tier = VIP and case created; send notification and create a task |
| SLA reminder | Scheduled path on the same after-save flow: 2 hours before the target time, notify the queue supervisor if still open |
| Warranty check | Asynchronous path calling an invocable Apex action (or External Services) through a Named Credential; writes the result back |
Cross-cutting: trigger order on the two flows, fault paths logging to an error object, entry conditions that avoid re-running on every edit, and Flow tests with bulk records.
โ Key points to hit
โ Red-flag answers
- Callout in the immediate path
- After-save updating the same case's priority
โช Follow-ups
What if the warranty callout fails?
The async path's fault path logs the error and sets a 'Warranty check failed' flag, and a retry mechanism (scheduled flow or Queueable with Finalizer) tries again.
Why not use entitlements for the SLA reminder?
If milestones are already used, use milestone warning actions instead; a scheduled path is a lighter alternative when entitlements aren't in place.