Skip to Content
avatar image
Former Member

bpm collect time infinite loop error

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Best Answer
    Sep 15, 2008 at 05:04 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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?

  • Sep 14, 2008 at 03:31 PM

    what is the loop condition you have given?

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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • Sep 15, 2008 at 04:43 AM

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

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 15, 2008 at 10:39 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 15, 2008 at 10:53 AM

    hi pratichi

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

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

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 15, 2008 at 12:01 PM

    Hi,

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

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

    Check the container in Transformation(mapping) step..

    Regards,

    Chandra

    Add comment
    10|10000 characters needed characters exceeded