Conditional blocks, loop blocks and execution formulas
How Execution Conditional Formulas, Conditional Blocks (with Is If Else) and Loop Blocks control which steps run in an Integration Procedure, how each loop iteration sees one item at its full path, how Loop Output returns results, and how list positions and IF formulas work in Set Values.
Apply conditional logic, loops, and branching within IPs to control the execution path.
~8 min read · 6 practice questions ·
What the exam expects
- Skip or run an action or block with an Execution Conditional Formula, and tell it apart from a Failure Conditional Formula.
- Group steps behind one condition with a Conditional Block, and build mutually exclusive branches with Is If Else, including a default branch.
- Configure a Loop Block's Loop List, read the current item with the full path, and return results with Loop Output.
- Combine and nest blocks correctly, and know which loop nesting the docs don't support.
- Read list items with
listnode|nnotation inside IF formulas.
Key terms: Execution Conditional Formula (runs before a step; FALSE skips it), Conditional Block (a block whose only job is to control flow), Is If Else Block (runs only the first element whose formula is true), Loop List (the JSON node holding the array a Loop Block iterates), Loop Output (key-value pairs a loop returns to later steps).
Key facts
- Detail
- TRUE runs, FALSE skips, none runs the step
- Detail
- Runs after the step to flag a failure
- Detail
- All block types have one; it gates everything inside
- Detail
- First true element runs; blank last formula is the default
- Detail
- A Conditional Block property
- Detail
- Loop Block inside a Try-Catch or Cache Block is allowed
- Detail
- Not supported; call another procedure with a loop (Managed Package page)
- Detail
- Full path, such as Products:Ids:Id (Managed Package page; the Data and Lists page shows the same one-item structure)
- Detail
{ "success": "OK" }per item (Managed Package)
- Detail
listnode|ncounts from one
- Detail
- Over 1000 items degrades performance
Sources for this section (8)
- Execution logichelp.salesforce.com (opens in a new tab)
- IP Actionshelp.salesforce.com (opens in a new tab)
- IP Blockshelp.salesforce.com (opens in a new tab)
- Conditional Blockhelp.salesforce.com (opens in a new tab)
- Loop Blockshelp.salesforce.com (opens in a new tab)
- Loop propertieshelp.salesforce.com (opens in a new tab)
- Set Valueshelp.salesforce.com (opens in a new tab)
- Data and listshelp.salesforce.com (opens in a new tab)
- Why can't a Failure Conditional Formula keep a step from running?
- When does the last element of an Is If Else Conditional Block run?
- Why should Loop Output be used with care?
- What does the Loop List field hold?
The questions are free to read. Answers with their sources and self-grading are included with the pack.
Keep reading with the Omnistudio Developer pack
- Core concepts
- Exam traps
- Worked scenario
The pack includes:
- All 46 lessons of the Omnistudio Developer guide, with reading progress
- Interactive decision walks and step-by-step sequence steppers
- Inline practice questions and one-click topic practice (6 questions for this lesson)
- An official source cited for every claim
- An AI tutor that answers from the guide
- Unlimited timed practice exams