You are here:
Integration Procedure Blocks
In an Omnistudio Integration Procedure, you can run a group of related steps as a unit inside a block to execute them conditionally, cache them, repeat them for each item in a list, or return an error if they fail.
All blocks have one property in common, which is the Execution Conditional Formula. If this formula evaluates to true or is not defined, the block is executed. If it evaluates to false, the block is skipped.
You can nest blocks within other blocks. For example, you can nest a Loop Block within a Try-Catch Block or a Cache Block.
- Cache Block
Using a cache to store frequently accessed, infrequently updated data saves round trips to the database and improves performance. Use Cache Blocks if some parts of the Integration Procedure update data and therefore shouldn't be cached, or if different cached data should expire at different times. - Conditional Block
Use a Conditional Block to group actions and blocks behind a formula without performing a loop or merging a list. The Conditional Block’s only job is to control the Integration Procedure flow. A Conditional Block executes in its entirety if an expression is true, executes one of a set of mutually exclusive conditions defined in the steps it contains, or both. - Loop Block
A Loop Block iterates over the items in a data array, enabling the Actions within it to repeat for each item. The array input to the Loop Block is processed so that each iteration receives only one item in the array. - Try-Catch Block
A Try-Catch Block lets you "try" running the steps inside it and then "catch" the error if a step fails.

