You are here:
Handle Errors in Integration Procedures
You can configure the conditions for success or failure of an Integration Procedure action or group of actions.
In each step, you can set the following properties:
-
Failure Conditional Formula: Specify a formula that evaluates to TRUE if the step has failed to execute successfully. See the second example in Handle Errors by Using a Try-Catch Block.
NoteAn action that returns a list cannot use returned data in its Failure Conditional Formula.
-
Fail On Step Error: Enable this option to terminate the Integration Procedure if the conditional formula determines that the step has failed.
To capture detailed information about failed Integration Procedure steps, configure error logging. See Enable Error Logging for Integration Procedures.
To configure conditions and behavior for the success and failure of a group of actions, you can use a Try-Catch Block. See Handle Errors by Using a Try-Catch Block.
To add debugging information to the Data JSON, use Response Actions. For details, see Response Action for Integration Procedures.
HTTP actions add details about the results of the call to the Data JSON
ElementNameInfo node as follows:
-
Response headers, for example,
Content-Type -
Status of the response
-
Status code, for example, 200
- Enable Error Logging for Integration Procedures
Enable error logging to capture detailed information about failed Integration Procedure steps. Omnistudio writes all Integration Procedure errors to the OmniComponentErrorLog sObject records. - Handle Errors by Using a Try-Catch Block
Handle errors in Integration Procedures by using Try-Catch Blocks. A Try-Catch Block lets you "try" running the steps inside it and then "catch" the error if a step fails.

