---
schema_version: "1"
id: 3433d5cb9d1c07d2eb14bf0eb09178be8bc9d7cf8dbc34f2588914a6ea18a5be
title: Group Integration Procedure Steps Using Blocks (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_group_integration_procedure_steps_using_blocks.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_group_integration_procedure_steps_using_blocks.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: df0fecdb3d8f8e36a34e3292681baa56f42e67fd8ff3e9e21b25c7838bfe8861
description: For the managed package runtime, in an 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.
products:
  - Omnistudio
release: "264"
---
# Group Integration Procedure Steps Using Blocks (Managed Package)

For the managed package runtime, in an 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.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

Integration Procedures provide these block types:

- Conditional Block — Executes the block if a specified condition is true, or treats the steps within it as a series of mutually exclusive alternatives. This is the most basic block type.
- Cache Block — Saves the output of the steps within it to a session or org cache for quick retrieval.
- Loop Block — Repeats the steps within it for each item in an array.
- Try-Catch Block — Returns specified output or calls an Apex class if a step within it fails.

All blocks have one property in common: **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.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/images/icon_note.png)

Note

You can nest blocks within other blocks. For example, you can nest a Loop Block within a Try-Catch Block or a Cache Block. Nested Loop Blocks aren't supported. However, you can call one Integration Procedure with a Loop Block from another.