on ‎2025 Mar 24 1:55 PM
Hi experts,
we have created a process within SAP Build Process automation. The process includes an action call after an approval task.
Within the CAP application which is handling the action call we have defined known errors that will be returned as follows:
return req.error({
code: 123, // internal code for identifying return messages
message: "my return message",
target: "where is the message caused",
status: 4## //the error status
})An error could be that a specific action was not done before approval by the approver himself.
However, if the action does not retrieve a success return (HTTP return status equals 4##) the whole process is put to an error state. Is there any possibility to catch this error within the process itself and send a notification to the MyInbox of a specific group/user?
Actually, we don't want the process to get into an error state for this scenario but instead execute an alternative path within the process itself.
regards
Emanuel
Request clarification before answering.
Hallo Emanual, can you please check following error management Tutorial to assist below error ( https://help.sap.com/docs/build-process-automation/sap-build-process-automation/create-your-automati... https://help.sap.com/docs/build-process-automation/sap-build-process-automation/create-file?locale=e...)
Please feel free to share if you need further assistance with the notification.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.