Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

triggering workflow for purchase order change

Former Member
0 Likes
1,125

workflow triggers when ever purchase order is changed.

in this scenario i have used condition step. i.e

if the purchase order creator and purchase order changer are different then send a mail to po creater.

i created one container element in workflow as creater of type workflow initiator.

in event container agent : evt_creator binded to wf_initiator

evt_creater -


> wf_intiator ( po changer)

? -


>creator (po creator)

i should check condition like this creator = wf_intiator

if both are same no need to send a mail

if both are different i should send a mail to pocreator: po is changed

what i required is?

which is the event parameter that contains pocreater in this scenario?

if evt_creator contains the po creator name then which parameter contain po changer name?

kindly give me the information regarding this.

Thanking you,

sunil.

workflow triggers when ever purchase order is changed.

in this scenario i have used condition step. i.e

if the purchase order creator and purchase order changer are different then send a mail to po creater.

i created one container element in workflow as creater of type workflow initiator.

in event container agent : evt_creator binded to wf_initiator

evt_creater -


> wf_intiator ( po changer)

? -


>creator (po creator)

i should check condition like this creator = wf_intiator

if both are same no need to send a mail

if both are different i should send a mail to pocreator: po is changed

what i required is?

which is the event parameter that contains pocreater in this scenario?

if evt_creator contains the po creator name then which parameter contain po changer name?

kindly give me the information regarding this.

Thanking you,

sunil.

2 REPLIES 2
Read only

Former Member
0 Likes
563

Hi Sunil,

The container evt_creator doesn't contain the PO creator or PO changer name. But it simply contains the name of the person who triggered the event. For Your scenario you can take the PO creator name from PO table EKKO-ERNAM and compare it when the changed event occurs with the value in the container evt_creator.

To get the name from the table create a custom attribute in BO BUS2012.

Then compare and proceed with the scenario as per your requirement.

Regards,

Raj

Read only

Former Member
0 Likes
563

Thanks raj,

u have given me a valuable answer.