cancel
Showing results for 
Search instead for 
Did you mean: 

bpm collect time infinite loop error

Former Member
0 Kudos

Hi All,

I am doing the BPM pattern collect time scenario. I have an issue. The process is not coming out of the loop after the specified time of 1 minute. The deadline branch is not getting executed. What can be the problem?

The BPM design is that of the collect time pattern given in SAP BASIS patterns.

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

sunilchandra007
Active Contributor
0 Kudos

Hi,

I faced the same problem while doing the scenario.

Actually there is problem of maintaining runtime environment parameters.

Go to trans - SWU3

In Maintain Runtime Environment

Execute the following activities :-

1. Schedule background job for missed deadline

2. Schedule background job for deadline Monitoring

The problem would be solved...........

Let me know if it works,,,,

Regards,

Chandra

Former Member
0 Kudos

Hi Sunil,

thanks alot that did work:) i did not schedule it, but the basis people did it for me. they scheduled it to work evey 3 minutes.

Anyway, there is another small issue.

my input is like this,

<?xml version="1.0" encoding="UTF-8" ?>

- <ns1:Mt_In xmlns:ns1="urn://collect_time">

<Name>pratichi</Name>

<ID>PR01</ID>

</ns1:Mt_In>

I am giving only one file for input

but output i am getting output as such

<?xml version="1.0" encoding="utf-8" ?><ns1:Mt_Out xmlns:ns1="urn://collect_time"><

Name>pratichi</Name>

<Name>pratichi</Name>

<Name>pratichi</Name><Name>pratichi</Name>

<Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name>

<Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name>

<Name>pratichi</Name>

<ID>PR01</ID><ID>PR01</ID>

<ID>PR01</ID><ID>PR01</ID><ID>PR01</ID>

<ID>PR01</ID><ID>PR01</ID><ID>PR01</ID><ID>PR01</ID>

<ID>PR01</ID><ID>PR01</ID></ns1:Mt_Out><?xml version="1.0" encoding="utf-8" ?><ns1:Mt_Out xmlns:ns1="urn://collect_time"><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID></ns1:Mt_Out>

Why does this happen?

I kept the file only once, how come i am getting so many instances of the fields?

Answers (5)

Answers (5)

sunilchandra007
Active Contributor
0 Kudos

Hi,

Check in moni..........

How many times the loop is getting executed........

Check the container in Transformation(mapping) step..

Regards,

Chandra

dharamveer_gaur2
Active Contributor
0 Kudos

hi pratichi

chek your target message is 0....unbound.change it to 1

Edited by: Dharamveer Gaur on Sep 15, 2008 12:53 PM

dharamveer_gaur2
Active Contributor
0 Kudos

chek whether u selcted file delete option after picking.It running in loop, so file data is adding again and again.

Edited by: Dharamveer Gaur on Sep 15, 2008 12:40 PM

Former Member
0 Kudos

Thanks Dharamveer,

Ya it is in the delete mode

still m getting that output

dharamveer_gaur2
Active Contributor
0 Kudos

r u using switch control, where cancel option available to cancel process.

Shabarish_Nair
Active Contributor
0 Kudos

what is the loop condition you have given?

Note that the exception handler need to have the exception caught in the branch.

Former Member
0 Kudos

i have used condittion 1=1 , but exception as timeout, with time = 1 minute .

Former Member
0 Kudos

Hi Chauhan,

the condition is 1=1 try to give the wrong input and chk it is comming out the loop or not if it comming then there problem with the loop condition

Regards

Sampath

Former Member
0 Kudos

Hi Shabharish,

please tell me what u mean by this :

"Note that the exception handler need to have the exception caught in the branch"

please do elaborate

Thanks

Pratichi