You have configured custom Approve, Reject or Send Back for Revision buttons on a TI screen however they are throwing the below errors when triggered:
"Could not find the executed task(s)"
"Could not correlate the process activity"
"Process instance not found for BO . ID"
- SAP Cloud for Customer
- SAP Business ByDesign
- SAP Cloud Application Studio
Reproducing the Issue
- You have created a custom Approval Process for a business object in the Cloud Application Studio.
- You have configured custom buttons for this Approval Process on the TI screen of this business object.
When approval related actions (Approve, Reject or Send Back for Revision) are configured on the TI screen as buttons, the Approval Task ID and the business object instance Node ID have to be passed to the framework for them to check if there is a correct correlation between the instance the user is trying to approve and the Task ID. Because of technical reasons, the Task ID is not passed to the framework and the correlation check fails.
The BO Instance can be approved directly from the Notifications UI. Please don't create and use approval related buttons except Submit and Withdraw on the TI as these actions will not work due to the limitation.
Approval Process, Task, Node ID, Instance, BO, Submit, Withdraw, PDI, SDK, UI Designer, failed , KBA , AP-RC-BDS-BO , ByDesign Studio BO definition/generation , How To