cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger Workflow for Cancel Release

0 Kudos
456

Hi Experts,

I am new to workflow, need your help for a workflow scenario that I am working on.

We use standard workflow WS20000075 for Purchase order Release with the standard message.

The new requirement is to customize the workflow message for Cancel Release event done in ME29N.

Workflow           - WS20000075

Task                 - TS20000167

Triggering event - SIGNIFICANTLYCHANGED

Task description - Release of PO canceled!


Requirements

Standard message in mail - Release of PO canceled!

New custom message - Reason for Cancellation(From PO header text) with User name who canceled the Release.

Agents will be the people who have already Released the PO(Determination done from Rules)

If you can give me step by step process, will be greatly helpful.

Regards,

Kishore

View Entire Topic
former_member201570
Active Participant
0 Kudos

Hi,

First you have to copy standard workflow and task (TS20000167)  to custom.

Delegate the BO BUS2012 and add a method to find out the user name who canalled the release and reason for cancellation .

Before the activity step of cancellation ( Release of purchase order canceled) put a new step and add the newly created method and apply appropriate binding  so that workflow has to get the name and reason from method.

Then change the work item text of  the copied task  as per new requirement ( you can place the containers of name and reason which we got from new activity step into work item text) .

Regards,

Shamsudheen

0 Kudos

Thanks for the reply Shamsudheen, will try your method and see if it works for me.