Skip to Content
0

Wokflow triggering after completion

Oct 19, 2016 at 03:06 PM

37

avatar image
Former Member

Hi Experts,

I have developed workflow for sale order creation. Workflow is working fine there is just one problem I am facing. Once all approvers have apporved worklfow gets completed. Before that I have created an activity step which deletes billing block and I have used task in this step to delete billing block. Its a background task. Now when activity step is executed change event is triggered and same mail is sent to all approvers all over again. Have tried to change condition in SWB_COND but nothing is working. Is there anyway I can avoid this situation? Help is appreciated.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Rob Dielemans Oct 20, 2016 at 02:34 PM
0

Hi,

If conditions is impossible to use, you can try SWEINST with a check function module to not trigger the event based on certain conditions, or you model it in the workflow.

Kind regards, Rob Dielemans

Share
10 |10000 characters needed characters left characters exceeded
Rob Dielemans Oct 20, 2016 at 02:56 PM
0

Also,

when it is a background step that is triggering the event, just use _evt_creator not equal to WF-BATCH to allow the workflow to trigger.

Kind regards, Rob Dielemans

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Rob,

I have used the same. But i was wondering if there is any other way by which we can stop workflow from triggering at all. Will definitely use SWEINST and check if the event can be stopped from triggering. Thanks for your suggestion and time.

Regards, Purushottam

0
Rob Dielemans Oct 24, 2016 at 08:59 AM
0

Hi,

You can create your own event with your own specificities, check events for change docs SWEC or maybe use a BTE.

It's either restricting which event starts a workflow or when you don't want the event to trigger a workflow.

Kind regards, Rob Dielemans

Share
10 |10000 characters needed characters left characters exceeded