AUTO-Q09Design AdvancedAutomation#integration#automation

Design a multi-level discount approval that routes by amount and region, runs approvals in parallel for legal and finance on large deals, and updates the CPQ system after approval.

Your confidence:Not rated

Model answer

  • Type: a record-triggered approval orchestration starting when Discount > 10% and Status = Submitted.
  • Stage 1 โ€“ Sales management: approver = regional sales director, determined from the opportunity's region (custom metadata mapping).
  • Stage 2 โ€“ Large deals (amount > 1M or discount > 30%): parallel approval steps for Legal and Finance groups; both must approve.
  • Rejection at any stage ends the orchestration, notifies the rep and resets status.
  • After approval: a background step calls the CPQ system (invocable Apex through a Named Credential) to apply the discount; fault path alerts the deal desk.
  • Record locking and integrations: decide whether the record is locked during approval and how integrations update it.
  • Visibility: the Approvals app and a record component show progress; reports on approval cycle time.

If the team needs delegated approvers or manual next-approver selection, compare with a classic process and check current Flow approval capabilities โš‘ verify.

โœ” Key points to hit

โœ– Red-flag answers

  • Hardcoded approver user IDs
  • Calling CPQ before approval completes

โ†ช Follow-ups

How do you handle an approver on holiday?

Assign steps to groups or queues instead of individuals, add reassignment by admins in the Approvals app, or use delegation where supported.

How do you measure the process?

Report on approval request records: time per stage, rejection rates by region, and volume per approver.