---
schema_version: "1"
id: e63f2d37c3c55132b4b02dad8d9e436ff03659fb68a46cfac888144d22bc3378
title: Workflow for Test Procedure Example
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_55479.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_workflow_for_test_procedure_example_55479.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ccd3a0f1c6f88547bb25fbf981a9ee837cabbde8cb969e160ff6143d9c7a3949
description: A Test Procedure tests a calculation performed by another Integration Procedure.
products:
  - Omnistudio
release: "264"
---
# Workflow for Test Procedure Example

A Test Procedure tests a calculation performed by another Integration Procedure.

To build this example:

1. Enable the Tracking Service for Integration Procedures.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio-264-0-0-production-enus/f526eaa8-ae05-487a-8944-4bb99b0b78ac/images/icon_note.png)
    
    Note Tracking Service isn't currently available for Omnistudio.
2. Create the Integration Procedure to be tested.
    
    See [Define Execution Logic](https://help.salesforce.com/s/articleView?id=xcloud.os_define_execution_logic_using_conditional_blocks_48515.htm&release=264.0.0&type=5 "Define conditional flow in Integration Procedures by using the Execution Conditional Formula field on an action or block, or by using a Conditional Block to compose a series of mutually exclusive conditions.").
3. [Mock a Response in the Tested Integration Procedure](https://help.salesforce.com/s/articleView?id=xcloud.os_mock_a_response_in_the_tested_integration_procedure_55527.htm&release=264.0.0&type=5 "Before you create the example Test Procedure, add a Mock Response Map to the Integration Procedure to be tested.").
4. [Create an Example Test Procedure](https://help.salesforce.com/s/articleView?id=xcloud.os_create_an_example_test_procedure_55559.htm&release=264.0.0&type=5 "After you mock a response in the Integration Procedure to be tested, create the Test Procedure that tests a calculation it performs.").
5. Run the Test Procedure from IDX Workbench.
    
    See [Run Test Procedures](https://help.salesforce.com/s/articleView?id=xcloud.os_run_test_procedures.htm&type=5&language=en_US).

- **[Mock a Response in the Tested Integration Procedure](https://help.salesforce.com/s/articleView?id=xcloud.os_mock_a_response_in_the_tested_integration_procedure_55527.htm&release=264.0.0&type=5)**  
    Before you create the example Test Procedure, add a Mock Response Map to the Integration Procedure to be tested.
- **[Create an Example Test Procedure](https://help.salesforce.com/s/articleView?id=xcloud.os_create_an_example_test_procedure_55559.htm&release=264.0.0&type=5)**  
    After you mock a response in the Integration Procedure to be tested, create the Test Procedure that tests a calculation it performs.