cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow for Delete

Former Member
0 Kudos

Hi,

I would like to ask how can I implement an n-step if the action is delete and not change/save.

Thanks

Cindy Sy

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Pls explain in detail what you want to do?

BR,

Disha.

Former Member
0 Kudos

Once a Delete Button is clicked for example in PO. I want it to go through N-step PO WS14000145. Thus the approvers for deletion will go through the same approvers as it was on change.

What I did was I used the Delete event to trigger the wfl.

But the PO was successfuly deleted without going to the Approvals.

Regards,

Cindy Sy

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Cindy,

Do you want to implement approval WF for deleting PO ?

If it the case, you should not use standard "Delete" button and should create custom button and event.

Regards,

Masa

Former Member
0 Kudos

Hi Masa,

How can i create a custom button? I already have done the Delete Event in the WFL.

Thanks

Cindy

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Cindy,

That is modification. It is too late to catch a "deleted" event because it is created when a object is deleted. In your case, you need something like "going to delete" event.

I would implement a custom WF and a simple "Delete request form" because deleting PO is 0.01% rare case.

1. Implement a simple form ( Business Object, Object ID)

2. Custom WF starts approval for deletion

3. End of the WF, delete the Object by Function Module.

When user need to delete a PO, just fill in the delete request form. This is just my idea. Please ask good ideas to other members.

Regards,

Masa