Default Error Handling
This article describes how messages can be re-run in case an error occurs.
Pricefx Operations – Catch Exceptions Thrown by Adapter
The error message can be extracted by the standard expression: ${exception.message}
. You can update the process direct parameter to write the error message to your error handling process. It writes to the email process by default.
SAP S/4HANA Operations – Write Error Message to Error Data Store
All the request messages causing the exception are written to error data store. You can build another integration flow which periodically runs and selects the messages from the error data store and feeds it to process again.
You can find some samples modified from “Rerun Errored Response from SAP S/4HANA and Write to Pricefx" in the data integration packages. If the error happens again after re-run, the message will be written back to the error store by this process. A sample integration flow “Rerun error data by polling” is included in the package “Sample artifacts for SAP S/4HANA Integration with Pricefx”.