cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hello Community,

I followed the below blog for the approval process for my business object.

https://blogs.sap.com/2016/05/18/how-to-create-custom-approval-process-and-configure-it-in-cloud-sol...

But I ended with an approval screen without approval Notification to approve and also if I click the Approve button, it throws the weird error.

Can anyone guide me what am I missing?

Thanks & Regards,

Senz

0 Likes
View Entire Topic
andy_blankley
Participant

Hello Senz Evo,

Just to give some more information on the reason why you are seeing the error:

This issue happens when approval related actions, approve or reject or send back for revision, are configured on the OIF as buttons to carry out approval operations.

Unfortunately, When a user approves or rejects or sends back for revision an instance, approval task instance id and the BO instance node ID has 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 in C4C systems, the Task instance ID is not passed to the framework (from UI framework) and the correlation check fails. This is why you see those errors occur when using the buttons on the OIF

However, there is a work around for this. 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 UI as they are not supposed to work.

For the other query about notifications, I am unable to see if this is solved or not.

All the best!

Andy Blankley