Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Can we create a custom terminating event for any business object?

Can we create a terminating event for BUS2032, whenever the approve button is clicked in UI5 frontend the custom Sales Order workflow should complete. there is no standard event to terminate the workflow if released, this is there for PO.

I have create a custom task where I have written the method to release the blocked Sales Order in VKM3. this task is getting completed is R/3 when executed through sbwp. but when I click on approve button in fiori app, the task will complete but the blocked order will not release.
I have tried with all the option with synchonised, dialog, confirm end processing..
please let me know how can I complete the task when clicked throught fiori app.


Tags:
replied

HI

First, the terminating event is not on the business object, it can be within your workflow or within your task.

Fiori is using approve all, which you can customise,

If you are using a decision step, with button approve and reject

Just after the approve branch within your workflow insert a step that will trigger the "unblocking" task

Decision step are easy to handle in Fiori and the rest you just do in workflow.

Cheers

Stephane

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question