Loading
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Error Handling in Integration Procedures (Managed Package)

          Error Handling in Integration Procedures (Managed Package)

          For the managed package runtime, you can configure the conditions for success or failure of an Integration Procedure action or group of actions. You can also configure error logging.

          Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

          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 Using Try-Catch Blocks (Managed Package).

          • Fail On Step Error: Enable this option to terminate the Integration Procedure if the conditional formula determines that the step has failed.

          Note
          Note

          An action that returns a list cannot use returned data in its Failure Conditional Formula.

          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 Using Try-Catch Blocks (Managed Package).

          To add debugging information to the Data JSON, use Response Actions. For details, see Response Action for Integration Procedures (Managed Package).

          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

          Note
          Note

          Error logging is supported in Omnistudio for Managed Packages but not Omnistudio. For details, see Enable Error Logging (Managed Package) and Send Data to the Error Log (Managed Package).

          • Enable Error Logging (Managed Package)
            For the managed package runtime, in Winter '20 and later releases, you can write Integration Procedure errors to Vlocity Error Log Entry SObject records by setting ErrorLoggingEnabled to true. ErrorLoggingEnabled is a Custom Setting under General Settings.
          • Send Data to the Error Log (Managed Package)
            For the managed package runtime, by default, the input to a failed step is sent to the InputData__c field in a Vlocity Error Log Entry SObject record. You can send data to a different Vlocity Error Log Entry field if a step fails.
           
          Loading
          Salesforce Help | Article