---
schema_version: "1"
id: d0b46f9dfa10e8dd115b875f783a46ea7839215c136a9a7b82b1933781b7f894
title: Workflow for Test Procedure Example (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_workflow_for_test_procedure_example.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_workflow_for_test_procedure_example.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 201817a845885cd31385c64856cea08c34a05c09c3caae37ee1b42f424a2f853
description: For the managed package runtime, a Test Procedure tests a calculation performed by another Integration Procedure.
products:
  - Omnistudio
release: "264"
---
# Workflow for Test Procedure Example (Managed Package)

For the managed package runtime, a Test Procedure tests a calculation performed by another Integration Procedure.

![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).

Importing data packs from Omnistudio for Managed Packages into Omnistudio orgs is supported, and conversion is automatic. However, importing Omnistudio data packs into Omnistudio for Managed Packages orgs isn't supported.

1. Enable the Tracking Service for Integration Procedures.
2. Create the Integration Procedure to be tested.
3. Mock a Response in the Tested Integration Procedure.
4. Create and Example Test Procedure.
5. Run the Test Procedure from IDX Workbench.

- **[Mock a Response in the Tested Integration Procedure (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_mock_a_response_in_the_tested_integration_procedure.htm&release=264.0.0&type=5)**  
    For the managed package runtime, before you create the example Test Procedure, add a Mock Response Map to the Integration Procedure to be tested.
- **[Create an Example Test Procedure (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_create_an_example_test_procedure.htm&release=264.0.0&type=5)**  
    For the managed package runtime, after you mock a response in the Integration Procedure to be tested, create the Test Procedure that tests a calculation it performs.