ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbi joe <...@daggerpoint.net>
Subject Understanding activity - BPEL while
Date Sat, 03 Nov 2007 12:27:52 GMT

Im experiencing some unexpected behavior during the processing
inside of a "WHILE" loop.  I have some logic structures that equate to
boolean values that work very good.  However, When I add in an
if structure that contains a ASSIGN activity the WHILE loops appears
to get stuck looping forever, even when I insert a boolean value
to exit out of the WHILE loop at the very bottom of the loop.
For Example:

<condition> ('$moreWork' = true() ) </condition>
    <if name="gotMilk">
         <condition> ("$gotMilk" = true() ) </condition>
          <assign name="SETsomeVariables">
               <!-- blah, blah  set moreWork=false() here -->
   <if name="checkinEvent1">
         <condition>  ('$event1' = true() ) </condition>
               <!--  do a syncronous invoke here -->
        <elseif name="checkingEvent2">
            <condition>  ('$event2' = true() ) </condition>
               <!--  do a syncronous invoke here -->
            <!--  I set moreWork= false() here, but loop KEEPS going
forever.   -->

View this message in context: http://www.nabble.com/Understanding-activity---BPEL-while-tf4742812.html#a13562452
Sent from the Apache Ode User mailing list archive at Nabble.com.

View raw message