Skip to content

Study guide

Study guide for chapter 21 of the Integration Architect course. Read the five 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 treats every org boundary as integrations on the landscape. It carries LAND-1 and LAND-2, reading a landscape with several orgs and what drives it; DES-1 and DES-4, choosing the org-to-org mechanism; BLD-3 and BLD-4, moving the data and keeping it right; and BLD-6 and MNT-1, surviving one org’s outage, restore or release. Whether to have one org or many is the Data Architect course’s decision. This chapter is what the arrows between them look like.

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

One org or many (LAND-1, LAND-2, DES-4)

The ways orgs connect (DES-1, DES-4)

  • I know Salesforce to Salesforce has reached end of life. (What Replaced Salesforce to Salesforce)
  • I know Salesforce’s org-to-org approaches: the cross-org adapter to view or edit another org’s records without copying, Change Data Capture to publish changes, MuleSoft for many integrations, and Data 360 for replicated, unified data. (Salesforce’s List)
  • I know platform events are “not optimal” between orgs, because each org has its own event bus, and custom Apex is not recommended. (Two Salesforce Warns Against)

Keys, owners and staying consistent (DES-4, BLD-3, BLD-4)

  • I know each org has its own record IDs, so shared records carry an External ID both sides recognize, and each field has one owning system. (Two Questions)
  • I know orgs are eventually consistent, and I decide a conflict rule before go-live: the owning org wins, the later change at its source wins, or a person decides. (When Both Sides Change the Same Thing)
  • I know two-way syncs need loop prevention: a separate integration user, and skipping change events the integration made itself, using changeOrigin or commitUser. (The Change That Comes Back)
  • I know a regular reconciliation catches what events miss. (Check It Every Night)

When one org fails (BLD-4, BLD-6, MNT-1)

  • I know the replay window is limited (72 hours), and a catch-up from the source, by last modified date through the Bulk API, covers longer outages. (Every Org Fails on Its Own)
  • I know RPO (how much data you can lose) and RTO (how long you can wait), and that the business sets them. (How Much Can You Lose)
  • I know active-passive and active-active, and that a second org for recovery is justified only when the business needs more than the platform provides. (When a Second Org Is the Recovery Plan)
  • I know restored records get new Salesforce IDs, so integrations match on External IDs. (The Restore That Changes Every ID)

Joining and splitting orgs (LAND-1, DES-4)

  • After an acquisition, I know the quick first step is the cross-org adapter, then integration, then a decision: unify in Data 360, consolidate, or stay two. (Connect First, Then Decide)
  • I know consolidation repoints every integration and matches records by External ID, because migrated records get new Salesforce IDs. (Consolidating)

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.

  • Zoom out, then pick one arrow. Draw the whole landscape, then design one org-to-org arrow at a time.
  • Ask about localization early, and have the legal team check the current law; an org’s region is chosen when it’s created.
  • Show users how old a record from another org is, so they know whether to trust it.
  • Log every conflict, and how it was resolved.
  • Monitor a standby org’s replication like any other arrow, and put the identity provider and middleware in the recovery plan.
  • Have a switch for restores, so a restore doesn’t send every record out again as new.
  • Give every bridge an owner and an end date.
TermIn one line
Data localizationA law that some data must be stored or processed inside a country
Cross-org adapterSalesforce Connect reading another org’s records live
Eventual consistencyThe orgs agree eventually, not at every instant
Owning systemThe one system allowed to write a field
Last write winsThe later change, at its source, wins a conflict
changeOriginThe change event field that names the API client that made the change
ReconciliationA scheduled comparison of both sides, by key
RPOHow much data you can afford to lose
RTOHow long you can be without the system
Active-passiveOne org serves, the second waits in sync
Active-activeBoth orgs serve production traffic
BridgeA temporary integration after an acquisition, with an owner and an end date

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

1. Three regional orgs all need the same ERP, finance system and warehouse. What does each extra org do to the landscape, and what helps?

Each org adds its own integrations to every shared system. Middleware between the orgs and the shared systems reduces the connections and holds the credentials in one place. Reread Every Org Boundary Is a Set of Arrows.

2. A developer proposes publishing a platform event in one org and subscribing to it in another. What's the problem?

Each org has its own event bus; the other org can’t simply subscribe to it. Salesforce calls platform events “not optimal” between orgs. Use Change Data Capture with something that carries the change across, or the cross-org adapter, MuleSoft or Data 360, by need. Reread Two Salesforce Warns Against.

3. Users in one org need to view and edit a few records in another org, without copying. What does Salesforce recommend?

Salesforce Connect’s cross-org adapter. Reread Salesforce’s List.

4. A two-way sync between two orgs keeps sending the same change back and forth. What stops it?

Loop prevention: each direction signs in as its own integration user and sets its client ID, and the integration skips change events it made itself, by checking changeOrigin or commitUser. Skip writes that change nothing. Reread The Change That Comes Back.

5. The same customer's phone number is edited in both orgs a minute apart. How should it be resolved?

By a rule decided before go-live. Best: the field has one owning org, so the other edit isn’t allowed. Otherwise, the later change at its source wins, using the change event’s commitTimestamp, or a person decides. Log every conflict. Reread When Both Sides Change the Same Thing.

6. Records are restored from a backup. Afterwards, other systems can't find them, and duplicates appear downstream. Why, and what prevents it?

Restored records get new Salesforce IDs, and the restore looks like a wave of new records. Match on External IDs, make receivers upsert by External ID, and pause or mark outbound integrations during a large restore. Reread The Restore That Changes Every ID.

7. IT has set the RPO and RTO for the whole system, and proposes a second org on standby. What do you ask?

Ask the business to set the RPO and RTO for each capability. A second org is justified only when the business needs better than the platform provides, and then the standby org’s replication must be monitored. Reread How Much Can You Lose.

8. A company acquires another with its own org. What's the first step, and what comes after?

First, connect: single sign-on and the cross-org adapter, so each side can see the other’s key records with nothing copied. Then integrate the processes that now cross. Then decide: unify, consolidate or stay two. If they consolidate, every integration is repointed and records are matched by External ID. Reread Connect First, Then Decide.