cancel
Showing results for 
Search instead for 
Did you mean: 

workflow infinite loop how to Stop?

Former Member
0 Kudos

hi,

My workflow is having a loop it runs infinite bcos the condition is not proper. Inside the loop i have a send mail step.. How to stop the Running workflow???

Regards

Roops

Accepted Solutions (1)

Accepted Solutions (1)

former_member598013
Active Contributor
0 Kudos

Hi Roop,

Go to your workfow and inthe codition of hte Loop change the loop condition which satisfy this condition to exit from the loop. Then automatically you mail will stop.

Thanks,

Chidanadn

Former Member
0 Kudos

Go to SM50, find your process which is running in infinite loop and select Program/Session menu list & from there you must be able to debug your workflow, then change the required value to exit the loop.

Thanks,

Sudhir.

Answers (4)

Answers (4)

Former Member
0 Kudos

hi roop,

do one of the followings

1.)Use process control step.

2.)Use sm50 for debugging.

thanxs

Sachin

Former Member
0 Kudos

Roop,

It seems that the loop condition is a workflow step and not something in the method code.

For active instances of this workflow you will have to manually intervene. There can be 2 options -

1. Open the workflow log and change the container values such that it comes out of the condition

2. Logically delete the workflow.

Hope this helps

former_member184495
Active Contributor
0 Kudos

Hi RS,

try as our friends have suggested, but do take care of the WF definition, so that it doesnt occur next time.

You could probably add a ProcessControl Step, if the condition fails, so that you can terminate the WF there itself.

Aditya

Former Member
0 Kudos

Hi Roop,

Deactivate the workflow which is active.

Regards,

Hari