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.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
- In the step, under Failure Response, click Add Key/Value Pair.
-
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.
- For the Value, enter text that describes the error, such as Name not found.
-
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.
-