cancel
Showing results for 
Search instead for 
Did you mean: 

how to cancel a bpm running into an infinite loop

Former Member
0 Kudos

Hi all,

I have a business process in my file to file scenario and I am using a while loop to

process the messages and it is going into infinite loop.

Now I have corrected the problem and when I reprocess it ,it is using the same original condition for it again the infinite loop.

So what I understood is I need to cancel out the previous business process which is running into infinite loop .so can you please help me out how do I stop the message processing (and it is not error status also).i,e the business process before I start the fresh test case.

Thanks in advance,

Vengal.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hI Varun,

Thanks for the reply...

but I have activated the business process from the transaction.

and then re run the scenario..but it is taking the previous conditions only..not the present conditions in the bpm.

I could go to wf and then double click on the place where I changed the condition...but it is not the present condition and it is still the condition before the change.

prateek
Active Contributor
0 Kudos

Use transaction SWWL.

Also see this

/people/michal.krawczyk2/blog/2006/06/27/xi-who-said-he-cannot-be-stopped-bpm-jim--sp17

Regards,

Prateek

Answers (3)

Answers (3)

Former Member
0 Kudos

Use deadline step inside the BPM.Give some time limit over there..

Regards,

Anoop

Former Member
0 Kudos

Hi Vengal,

You can put a condition inside the loop, and whenever that condition will met, it will exit from the loop.

First of all declare one integer (Int_temp) under container operation.

Inside the container operation properties, give the variable name and other info as shown below:

<u><b>Container Operation</b></u>

Target -


> Int_temp

Operation -


> Assign

Expression------> Int_temp

Operator -


> +

Experssion -


> '1'

Now inside loop properties you can write the condition as shown below:

Condition -


> <b>(Int_temp &#8800; 2)</b> (this is just an example)

The efect of this condition will be on loop till <b>Int_temp</b> is not equal to 2, as soon as it will become 2, it will exit from the loop.

above is one simple example, there can be several methods.

I hope it will help you.

Regards,

Sarvesh

****Reward Points, if found helpfull.

former_member192892
Active Contributor
0 Kudos

Go to SXI_CACHE, click on Integration process on the left

Now select your Integration process and click on repeat activation button