Problem with BPM loop end condition

Hi,
I'm working with PI 7.1 in a BPM process which have a loop. I cant stop this loop in anyway, even, I have put a COUNTER != COUNTER as condition.
Can someone help me with this issue?
Regards,
Alberto Pla.

The BPM loops are while loop, so it will execute indefinitely if the condition given is true. The condition editor what we have in the BPM is not flexible. Can you just try the drag and drop facility available in the condition editor rather than writing on our own. it should look like this COUNTER!=COUNTER  without any spaces in between.

Similar Messages

  • [svn] 4836: Fix problems with asdoc comments and conditionally compiled definitions.

    Revision: 4836
    Author: [email protected]
    Date: 2009-02-04 11:07:52 -0800 (Wed, 04 Feb 2009)
    Log Message:
    Fix problems with asdoc comments and conditionally compiled definitions. Fixes bug http://bugs.adobe.com/jira/browse/ASC-3649
    Ticket Links:
    http://bugs.adobe.com/jira/browse/ASC-3649
    Modified Paths:
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/Compiler.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/ConfigurationEvaluator.java

    In the default php.ini is set open_basedir which limits work with php only to few directories (and directories bellow them). There is set /srv/http, /home,/tmp and /usr/share/pear by default.
    To allow your vhost you should add /data/www or set empty value.

  • Problem with BPM Receive step

    Hy all,
    I have a strage Problem with a BPM Definition into a receive step. I receive from SAP System IDoc and (per dynamic receive determination) I receive it into BPM.
    But the Block that contains the receive Step can't be executed. I get following error message from XI :
    Error when executing work item '000000177354'
    Error when starting work item 000000177354
    Work item 000000177345: Object FLOWITEM method EXECUTE cannot be executed
    Error when executing work item '000000177354'
    Runtime handle of object type  could not be created
    Exception 'ex_EDIFactOrder_received' caught and transferred to the exception handler
    Error when executing work item '000000177354'
    Could anyone help me please.
    Thank's a lot.
    Mat

    I have following scenario :
    Block 1
    1) Infinite Loop with receive step
    2) exception creation (2 minutes) (parallel to 1))
    3) exception  handler (parallel to 1))
    Block 2
    1) Mapping steps + send Steps + container Operation steps (set of flag)
    2) Exception handler (paralle to 1))
    Block 3
    1) receive steps (where I get the error message)
    I hope it's OK
    Cheers
    Mat

  • Qsm pc, problem with stop loop

    Hello,
    i tested queue producer/consument with event case, but i have problem with stop the both loop, can you help me with attachment ?
    Attachments:
    queue_mereni_1.zip ‏46 KB
    Global_queue.zip ‏3 KB

    thanks for your answer,
    i had problem with upload *.vi (some mistake), so when a upload *.zip it was ok, but i do not know why..
    please, when i put time out constatn, so when i push "stop" then both loops end - it is ok BUT:
    when i push "stop 2" button (for the second loop) so there is error (in attachment), please do you know why?
    i am sorry for a lot of questions but i try understand it..
    thank you
    Attachments:
    qsm.jpg ‏31 KB

  • Probably simple problem with while loops

    I was programming something for a CS class and came across a problem I can't explain with while loops. The condition for the loop is true, but the loop doesn't continue; it terminates after executing once. The actual program was bigger than this, but I isolated my problem to a short loop:
    import java.util.Scanner;
    public class ok {
    public static void main(String[] args){
         Scanner scan = new Scanner(System.in);
         String antlol = "p";
         while(antlol == "p" || antlol == "P"){
              System.out.println("write a P so we can get this over with");
              antlol = scan.nextLine(); 
    //it terminates after this, even if I type "P", which should make the while condition true.
    }

    Thanks, that worked.
    I think my real problem with this program was my CS
    teacher, who never covered how to compare strings,Here's something important.
    This isn't just about comparing Strings. This applies to comparing ANY objects. When you use == that compares to see if two references refer to the same instance. equals compares objects for equality in the sense that equality means they have equal "content" as it were.

  • Problem with BPM: no receive step found for message ....

    Hello,
    I have the follwing problem with a BPM ina PI 7.3 system.
    I created a BPM for the following 'process':
    We will receive an IDOC from SAP ECC, then call a synchronous webservice and finally send the result back to ECC.
    I created my BPM.
    Now when I send the IDOC, the interface is triggered but it gets stuck in the queue with message 'No receive step found for message ...'. I get this message when I go to Tx SMQ2 and try to simulate the message
    I have already refreshed the CPA cache without result however.
    in SXI_CACHE I can find my IP* and the status = '0' ( So i guess this is OK )
    I do not use correlations in my BPM.
    In my configuration I can find my sender agreement and interface determination towards the service (abstract) which is defined in the receive step of the BPM.
    Does anybody have any ideas what can be wrong ?
    Thanks,
    Erwin
    Edited by: Erwin Van Lysebetten on Oct 27, 2011 10:37 AM

    Hi Erwin, delete Integration Process  in the Directory Integration and import it again.

  • Problem with nested loops  in collections

    Hi All,
    I am trying to insert data captured on a form(elements) into a database table thru a view.
    I have a process for insert that looks like..
    for x in (select * from htmldb_collections where collection_name = 'PARTY')
    loop
    for i in 1..50
    insert into imds_part_num (mdb_nr,part_nr) values(:P5_MDB_NR,to_number(x.c00(i)));
    end loop;
    end loop;
    the error is 'C00' must be declared.
    I have no error when i tried to insert with process like this....
    for x in (select * from htmldb_collections where collection_name = 'PARTY')
    loop
    insert into imds_part_num (mdb_nr,part_nr) values(:P5_MDB_NR,to_number(x.c001));
    end loop;
    i have 50 items on my form page . i added members into the collection like this,
    htmldb_collection.add_member(p_collection_name => 'PARTY',
    p_c001 => :P5_ENTWICKLUNGSNUMMER,
    p_c002 => :P5_GEHAEUSE_PT,
    p_c003 => :P5_GEHAEUSE,
    p_c004 => :P5_PRESSTEIL,
    p_c005 => :P5_MAEL ,
    p_c006 => :P5_KGE_WNZ......, before the process mentioned above....
    I see the collection as a VARRAY.
    Cud somebody point me the mistake, or a workaround for this.
    Thank you.

    Chalamalasetty,
    When you have -
    x.c00(i)You're actually trying to access the Nth item in an array, for example if i=2 then you're trying to access the 2nd item in the c00 array.
    However, your query which performs the select from htmldb_collections is not returning an array called c00, it does infact return distinct columns such as -
    jes@DBTEST> desc htmldb_collections;
    Name                                         Null?    Type
    COLLECTION_NAME                              NOT NULL VARCHAR2(255)
    SEQ_ID                                       NOT NULL NUMBER
    C001                                                  VARCHAR2(4000)
    C002                                                  VARCHAR2(4000)
    C003                                                  VARCHAR2(4000)
    C004                                                  VARCHAR2(4000)
    C005                                                  VARCHAR2(4000)
    C006                                                  VARCHAR2(4000)
    ....... extra lines deleted .......So you would need to specify the columns individually. If you wished to do this dynamically then you would need to make your insert statement a dynamic statement and build it up as a string.
    If you can explain precisely what you're trying to achieve then it will be easier to suggest alternative ways of doing it.

  • Problem with ios7. when ending a call the phone redials the last number again and again.

    Dear friends,
    Major problem with ios7 just came up. When ending a call either from headset or the phone itself it keeps redialing the last number. The only way to shut it is to use the home button key and then choose the banner of the active call on the top of the screen and press end call.
    Has anybody encountered the same problem?
    I

    i have the same problem as well as my daughter. have to restart phone and then it stops, but after a couple calls it will do again

  • Problem with BPM fix

    We all know about the BPM switch fix for finding and removing dead entries from iTunes, but I have encountered a (big) problem with this. Actually, two problems, one big, and one slightly smaller:
    1. As anyone who has done this knows, it takes quite a while to write the new information to all your files, especially if you have a lot (I have 5000 songs).
    2. The bigger problem is that once you do this, syncing with you iPod takes over an hour, because every file has to be replaced.
    I don't understand why iTunes can't just let show you a list of all the files that it can't find, instead of having to use a ghetto workaround like the BPM switch. If anyone has any OTHER workaround that doesn't cause this to happen, please let me know...I'll be here for a while as I wait for my ipod to finish updating....

    I don't know what the "BPM Fix" is, but my fix for removing for finding dead entries is much simpler.
    Download one of these scripts:
    http://otto.homedns.org/itunes/RemoveDeadTracks.txt
    http://otto.homedns.org/itunes/FindDeadTracks.txt
    Save them to your hard drive and rename them to have a ".js" extension.
    While iTunes is running, double click one of them to run them. The Remove one will remove all dead tracks from your library. The Find one will just create a text file with the names of these tracks instead.
    "Dead tracks" being anything that will have a ! beside it in iTunes.
    *The RemoveDeadTracks script is the same one included in Apple's iTunes COM SDK. It's unmodified.
    *The FindDeadTracks script is my modified version of same.

  • Problem with a loop

    Hello All
    I'm working on a Flash Gallery and I'm having some issues
    with a loop and it's probably something simple I don't know so I
    thought I'd see if someone can help me.
    the problem is that once the thumbnail panel is populated the
    image I want to display from a rollover is no longer defined. As I
    mentioned I was hoping someone could shed some light on this.
    [code]
    // create the thumbnail panel
    var i = -1;
    while(++i<thumbList.length) {
    name = "item"+i;
    thumbs_mc.duplicateMovieClip(name,i);
    this[name]._x = i*spacing;
    this[name].contentPath = "children/" + thumbList
    // show the larger pic on rollover
    this[name].onRollOver = function() {
    picture.contentPath = "children/" + thumblist;
    [/code]
    by using this I get an error of: "error opening
    URL...undefined"

    mark2685 wrote:
    Well, the array of student objects is larger than 2, there are about 6 students so it would have to get the highest from TestScore 1 and the lowests from TestScore 2 out of all of the students, not just those 2. And I want the entire object stored in the chessTeam array. Does this make sense?No you're not reading my code right (BTW - add an open brace on the for loop top and set score2 to 101), or else I'm not understanding you requirements correctly. The student array can hold as many Students as needs be. You stated that you have only two scores that you care about and so that's the 1 and the 2. Based on the Student class you've shown us, this should work, but you'll have to try it before you know.

  • Problem with BPM Configuration

    Hi,
       I'm not able to get the process of BPM Configuration.
    My Scenario is
            File->R/3(BAPI)->File(Response),through BPM
       1.Do i need 2 Business Service?
       Is the flow like this?
          File->IP->SAP->IP->File.
       If it is correct then why do I need Business Service?
       Correct me if i am wrong.
       I'm very much confused with BPM,Need Help.
    Regards,
    Prashanth K.R,

    Hi Prashanth,
    >>1.Do i need 2 Business Service?
    no you don't need 2 one is enough
    but in fact sometimes it's good to have two...
    let's say one folder ackts as a foderl for storing XML files on one server for CRM data
    the second on is for txt data for EDI
    if you use two then you know which folder is responsible for what...
    BTW
    use can define Business Service in less then 20 seconds
    >>>File->IP->SAP->IP->File.
    If it is correct then why do I need Business Service?
    you use business services to define that file adapter
    is not connected to any other application
    if you just use a file folder on ftp then you have to create a business service to define the sender/receiver
    Regards,
    michal
    Message was edited by: Michal Krawczyk

  • A problem with for loop..

    i have a problem with this code :
         int [] P = new int [M.length];
         System.out.println(P[0]+" "+P[15]);     
         for (int i = 0 ; i < P.length ; i++){
         for (int j = i + 1 ; j < P.length ; j++){
              if (j == (P.length - 1) && M [ i ] != M [ j ]){
                        P [ i ] = M [ i ] ;
                   else if ( M [ i ] != M [ j ] ) continue ;
                   else break;
         for (int i = 0 ; i < P.length ; i++){
              System.out.println(P [ i ]);
    this code to copy distinct values in array M and print them into array P
    M and P are both of size 16
    the problem is the previous code doesn't work for P[15]
    and i don't know way
    if i have in M {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16}
    P will be {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0}
    could any body help ?

    I am sorry, but you are not done. May-be your code does what it is supposed to do but it is hard to understand. An important part of programming is not just to get your code to work, but to write code that is easily maintainable. You are probably quite new programming and I do not want to discourage you. Keep working hard and it will come.
    You almost had the solution a while back:
            int [] P = new int [M.length];
         System.out.println(P[0]+" "+P[M.length]);
            boolean unique;
         for (int i = 0 ; i < P.length ; i++){
             // All non-zero entries in P with index less than i are unique in M.
               unique = true; //Assume M[i] unique until contrary has been proven
            for (int j = 0 ; j < P.length ; j++){
              if (i != j && M[i] == M[j]) { //found another entry in M with the same value as M[i]
                            unique=false;
                   break;
               if (unique) { // M[i] is unique in M.
                  P[i] = M;
         for (int i = 0 ; i < P.length ; i++){
              System.out.println(P [ i ]);
         }This code executes in time O(n^2). It is possible to achieve O(nlog(n)) by
    1) copy M into P
    2) sort P
    3) iterate through P and set duplicates to 0.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • BPM problem with correlation/loop

    Hello,
    I have created a scenario in which I am sending file(using flat file conversion)  to BPM to do a collect and send out to external system.  I have set up a loop which should exit out when counter ="2."  Within the loop, I have my receive step, append to multiline item, and increase counter step.  Outside of the loop I have my transformation and send step.  The problem is that my inbound message does not even enter the BPM once I put the receive step into the loop. I have verified that the inbound message meets the structural requirements.  Can anyone provide a possible explanation as to why message cannot enter BPM once receive step is in loop?
    thanks

    I have created a scenario in which I am sending file(using flat file conversion) to BPM to do a
    collect and send out to external system. I have set up a loop which should exit out when counter
    ="2."
    Your requirement seems to be similar to the below mentioned help section:
    http://help.sap.com/saphelp_nw70/helpdata/EN/08/16163ff8519a06e10000000a114084/content.htm
    Make sure that you have done the settings accordingly and also have defined correlation.....
    In IR you can view the BPM under SAP BASIS ---> SystemPatterns
    Regards,
    Abhishek.

  • Problem with animation loop in AS3

    I'm having a problem doing an animation loop (a walk cycle in
    this case) in CS3. I never had this problem in Studio 8 and am
    wondering if I've gone crazy or if something has changed in CS3.
    The animation cycle works fine so long as I have it loop
    without using ActionScript, but when I try to loop it using
    gotoAndPlay it skips the last frame (i.e., the frame that the code
    is on). I tried adding an extra frame at the end and placing the
    code on it... it works a bit better, but there's still a bit of odd
    timing during the looping.
    Interestingly, when I save the fla as a Studio 8 file, it
    works fine (if I include that extra frame at the end). I may be
    misremembering, but it seemed to me that Studio 8 didn't require
    that extra frame before CS3.
    Has anyone else seen this? Anyone have a solution to share
    (I'm planning to use ActionScript3, so saving as Studio 8 won't
    solve my problems)?

    Sim-Enzo,
    > Interestingly, when I save the fla as a Studio 8 file,
    it works
    > fine (if I include that extra frame at the end). I may
    be
    > misremembering, but it seemed to me that Studio 8 didn't
    > require that extra frame before CS3.
    It shouldn't require that extra frame, but I wonder if
    you've somehow
    configured your FLA's publish settings for a version of
    ActionScript you're
    not actually using.
    > Has anyone else seen this? Anyone have a solution to
    share
    > (I'm planning to use ActionScript3, so saving as Studio
    8
    > won't solve my problems)?
    If your file works fine in Flash 8, then you must be using
    ActionScript
    2.0 (or lower) for the time being. Based on what you've
    described, I can't
    imagine what's going awry. Can you make that FLA available
    online
    somewhere? See if you can reproduce this issue with a
    simplified version,
    in case your company's policies (or whatever reason(s)) keep
    you from
    uploading the real file somewhere.
    I'll take a look.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Strange problem with BPM

    I have BPM
    Blok1
      Send Async step: Acknowledgement: Transport
      Exception brach: CannotInsert
      Deadline brach: Throw Exception CannotInsert
    Block2
      Mapping
      Send
    <b>BPM Monitoring</b>
    Mapping
    Workflow System Background work item created  13:33
    Workflow System Background Processing Started 13:33 tRFC Entries  
    Workflow System Work Item Processing Complete <b>14:02</b>
    Workflow System Result Processing             14:02
    When I click on mapping I see
    Current Creation  13:33 Start 14:02 End 14:02
    When deadline throws an exception   mapping works ~ 30 min
    I have the same problem in other BPM with deadline.
    Could someone explain me what is wrong with my BPM?
    Message was edited by: Sergey A

    Sergey,
    You can set different options for the deadline branch. You should choose 'Creating the step'. This will cause deadline branch being triggered after 30 minutes of creating the first block.
    You can also select e.g. 'Creating the process', this will cause the deadline to be triggered 30 minutes after creating the process, whereever the process is at that moment.
    Kind regards,
    Christiaan Schaake.

Maybe you are looking for