How to capture HCM AI agent API error output to display to the employee
Summary:
We want to show the error log return by API (elementEntries) to the employee. please suggest how to capture the error message and display to the employee in HCM AI agent Chat.
Content (please ensure you mask any confidential information):
we are using API "/hcmRestApi/resources/latest/elementEntries" to create element entry via HCM AI Agent. We want to show the error log return by API to the end user ie. employee. please suggest how to capture the error message and display to the employee.
Version (include the version you are using, if applicable): 25C
Code Snippet (add any code snippets that support your topic, if applicable):
Tagged:
0