For the managed package runtime, before you create the example Test Procedure, add a Mock Response Map to the Integration Procedure to be tested.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
- Go to the Vlocity Integration Procedures tab and open the Integration Procedure to be tested.
- If the Integration Procedure is active, click Deactivate Version so you can edit it.
- In the Procedure Configuration, click Edit as JSON.
-
Edit the
mockResponseMapnode as follows:"mockResponseMap": { "IfOtherState": { "DefaultSalesTax": 0.06 } } - Click Edit in Property Editor.
- Click Activate Version. The Integration Procedure to be tested must be active.