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.

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

  1. In the step, under Failure Response, click Add Key/Value Pair.
  2. Enter a Key that matches the name of the Vlocity Error Log Entry field without the __c suffix.

    For example, to send data to the ErrorMessage__c field, set the Key to ErrorMessage.

    This name-matching procedure also works for any custom fields you add to the Vlocity Error Log Entry SObject. For example, if you add a custom field named LongTextMessage__c, use a Failure Response Key of LongTextMessage.

  3. For the Value, enter text that describes the error, such as Name not found.
  4. To view Vlocity Error Log Entry SObject records, you can:
    • Go to Tabs in Setup, and create a new Custom Tab for the Vlocity Error Log Entry SObject. For details, see Create a Custom Object Tab in the Salesforce help.

    • Create a Lightning Record Page for Vlocity Error Log Entry records.