Skip to content

Study guide

Study guide for chapter 15 of the Integration Architect course. Read the eight modules first; this page helps you check what stuck.

About this study guide. It’s built only from this course’s own content and the published Salesforce exam guide’s list of objectives. It is never based on real exam questions, and it doesn’t claim to know what’s on the exam. If you’ve taken the exam, please don’t send me questions from it: the certification agreement forbids sharing them, and memorizing answers is the wrong way to become an architect anyway.

This chapter is about work that spans systems: who coordinates it, what the user sees while it runs, and how you take it back when a step fails. It has no exam objective of its own; it supports choosing the pattern (DES-1) and the trade-offs of a design (DES-3). The two ideas the exam leans on: there’s no rollback across systems, and a callout can’t wait on a standard Save.

Tick them off as you go. Each one links to where it’s taught.

One call, many steps (DES-1, DES-3)

The user waits (DES-1)

No rollback across systems (DES-3)

Orchestration or choreography (DES-1, DES-3)

The saga and the undo step (DES-3)

Where the conductor lives (DES-1, DES-3)

  • I know the homes: Salesforce (Flow Orchestration for multi-step, multi-user processes; asynchronous Apex), the middleware (routing, transformation, security and errors across systems), or a workflow engine. (Inside Salesforce, In the Middleware, In a Workflow Engine)
  • I know coordinating several outside systems from Salesforce spends Salesforce’s own limits on every call. (Choosing Where It Lives)

Long waits and people (DES-1)

The exam is the floor, not the ceiling. These are the habits from this chapter that an architect needs, whether or not a question ever asks about them.

  • An answer that says which steps happened, never just success or failure.
  • The person waits for the screen, never for the system.
  • Every in-between state has a meaning, a limit and an owner.
  • Choose orchestration or choreography per piece of work.
  • Every step has an undo, named before you need it.
  • Every wait has two ways out: the answer and the deadline.
  • Agents are conductors too (module 8, new and fast-moving): an undo for every action they can call, and the same key on a retry.
TermIn one line
OrchestrationOne conductor knows the whole process
ChoreographyEach system reacts to events; nobody in the middle
Compensating stepA new step that undoes an earlier one
SagaA chain of local steps, each with its undo
Point of no returnThe step after which the saga goes forward, not back
Eventual consistencyThe systems agree later, within a limit, with an owner
Screen flowA flow with screens, which can call out before it saves
Flow OrchestrationSalesforce’s multi-step, multi-user process conductor
Workflow engineA conductor that keeps a process’s state through failures
Wait elementA flow pause that saves its state until a resume event

Short scenarios in the style of the course. Decide your answer before you open it.

1. The middleware checks the balance, submits the order and updates inventory in one call. The call times out. Did the order go through?

You don’t know. Design the answer to say which steps happened, and when there’s no answer, ask before you act again. Reread The Worst Answer: No Answer.

2. The business wants Save to check the customer's balance in accounting and block the save if it's overdrawn. How do you build it?

Not on the standard Save: a trigger can’t call out there. A screen flow or a Lightning web component checks first, shows the answer, then saves. Reread Why the Standard Save Can’t Do It.

3. The ERP accepted the order, then inventory failed. What rolls back the ERP's order?

Nothing, by itself. There’s no rollback across systems: a compensating step cancels the order in the ERP, and the order’s status shows it isn’t finished until then. Reread Across Systems, There’s No Shared Undo.

4. Three systems need to react to a new delivery status, and nobody needs to track the whole process. Orchestration or choreography?

Choreography: publish the event, let each system react, and keep them loosely coupled. If someone must know where each piece of work is, that’s a conductor. Reread Choosing.

5. A process reserves stock, charges a card and sends a confirmation email. In what order, and why?

Undoable steps first (reserve), the point of no return next (charge), and what can’t be undone last (the email), so a failure never leaves a message you’d have to take back. Reread Some Steps Can’t Be Undone.

6. Five of the six steps are calls to outside systems. Where should the conductor live?

Where most of the steps are: the middleware, not Salesforce, which would spend its own limits on every call. Reread Choosing Where It Lives.

7. A discount waits for a manager's approval, and the manager is away for two weeks. What did the design forget?

A deadline: every wait needs one, with a decision on it, such as remind, escalate, decide by default, or undo. Reread Every Wait Needs a Deadline.

8. A partner accepted a request with `202 Accepted` and never called back. Do you send it again?

Not first. Ask the partner what happened to that request, by its key; the callback may be lost, not the work. Then carry on, resend safely, or undo. Reread The Step That Never Answers.