OmniStudio & Business Rules Engine

Updated November 25, 2026 · Winter '27

Guided processes (like an address change or a loan pre-check) and consistent decisions (like "is this client eligible?") are where OmniStudio and the Business Rules Engine come in.

75 min Advanced OmniStudio licence required

What you'll do

  • Find the prebuilt FSC OmniScripts
  • Activate and run a prebuilt OmniScript on a client
  • Build a Decision Matrix and an Expression Set for loan pre-eligibility

Before you start: check your org

Which org are you using?
  1. Does App Launcher find "OmniScripts" when you search Omni?
    OmniStudio isn't in your org. Read along and watch the episode.
  2. Does App Launcher find "Decision Matrices" and "Expression Sets"?
    The Business Rules Engine isn't in your org. Read along.

Prebuilt OmniScripts

Partly field-tested · 25 Nov 2026 · blocked at an empty Country picklist

  1. Find the OmniScripts

    There's no OmniStudio app in the trial. Open App Launcher, search OmniScripts, and switch the list view to All OmniScripts.

    You should see: App Launcher: search Omni, there's no OmniStudio app
  2. Open Change Address

    Open Change Address (Type FSCAddressUpdate, Subtype CreateRequest). It's standard content, shipped by Salesforce. The list can say Active = False while the designer says it's active: standard content runs as shipped, and the Active flag matters once you make your own copy.

    You should see: The Change Address OmniScript in the designer
  3. Turn on State and Country picklists

    The script's Country field is a picklist. In Setup › Quick Find › State and Country/Territory Picklists, make sure they're configured and enabled. Without them, Country has no values and you can't get past step 1.

  4. Preview it on Rohan

    Copy Rohan's Account ID from his record URL (the part starting 001). In the designer, click Preview and paste it into Context ID. Then step through the screens.

  5. Make your own copy

    To customise it, create a new version (a copy), change that and activate it. Then add it to the Account page as a quick action or with the OmniScript component.

Stuck? Country is required but the picklist is empty

State and Country/Territory Picklists aren't enabled (step 3). If you can't enable them in your trial, try another prebuilt OmniScript or let the facilitator demo this one.

If you see this: The empty Country picklist that blocks step 1
Copy before you customise

Create a new version of a prebuilt OmniScript before you change it. That makes upgrades and comparisons much easier.

Business Rules Engine

Partly field-tested · 25 Nov 2026 · the matrix works; simulation was blank

  1. Create a Decision Matrix

    App Launcher › Decision Matrices › New. Name Loan Pre-Eligibility. Add Input columns CreditBand (Text) and IncomeBand (Text), and Output column MaxLoanMultiple (Number).

  2. Add the rows
    CreditBandIncomeBandMaxLoanMultiple
    AHigh6
    BMedium4
    CLow0

    Use Low, not "any": a Text column can't mean "anything".

    Walkthrough: edit the matrix grid
    edit the matrix grid12345
    1. Click Add Row
    2. Click a cell to select it, then click the pencil that appears
    3. Type the value, then click outside the cell
    4. Click Save
    5. Activate the version from Edit; later changes need New Version
  3. Create an Expression Set

    App Launcher › Expression Sets › New. Name Pre-Eligibility Check, Usage Type: Default (required).

    You should see: Usage Type is required: choose Default
  4. Create the resources

    In Resource Manager, add Input variables CreditBand (Text), IncomeBand (Text) and AnnualIncome (Currency), and Output variable MaxLoan (Currency).

  5. Look up the matrix

    Add a Lookup Table element for Loan Pre-Eligibility. Map its inputs to CreditBand and IncomeBand. Its output is named automatically: Loan_Pre_Eligibility__MaxLoanMultiple.

  6. Calculate the maximum

    Add a Calculation element. Formula AnnualIncome * Loan_Pre_Eligibility__MaxLoanMultiple, Output Variable MaxLoan.

    If you see this: The formula fails until AnnualIncome and MaxLoan exist in Resource Manager
  7. Simulate

    Open Simulate and enter CreditBand A, IncomeBand High, AnnualIncome 2400000. Expected MaxLoan: 14400000 (₹1.44 Cr).

Instructor demo

In our run the simulation panel stayed blank, with only console errors. The expected result is ₹24,00,000 × 6 = ₹1,44,00,000. Let the facilitator show the simulation, or test it from a Flow in Workshop 8.

Stuck? The simulation panel is blank

Save and activate the expression set version, refresh the page and try again. If it's still blank, test it from a Flow (Workshop 8).

If you see this: The blank simulation panel
FINSforce trap: editing the active version

Decision Matrices and Expression Sets are versioned. If you edit and save without activating a new version, Flows and OmniScripts keep using the old one, and your change "doesn't work". Create a new version, test it, then activate it.

Watch the companion episodesEP19 OmniStudio & prebuilt OmniScripts (coming soon) · Business Rules Engine (coming soon)

Checkpoint

Knowledge check

Interest rates for the pre-eligibility table change every quarter. Where should they live?

Decision Matrices hold lookup tables outside the logic, with versions you can test and activate.

You need to change a prebuilt FSC OmniScript. What should you do first?

Working on a copy keeps the prebuilt version intact and makes upgrades and comparisons easier.
Progress: 0%
Tick every checkpoint to complete this workshop and claim your badge.
Next: Agentforce Financial Services →