<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=415541617-29072008><FONT face=Arial size=2>Dear 
Wuggers,</FONT></SPAN></DIV>
<DIV><SPAN class=415541617-29072008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=415541617-29072008><FONT face=Arial size=2>I have just created 
a workflow which has the following structure :</FONT></SPAN></DIV>
<DIV><SPAN class=415541617-29072008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=415541617-29072008><FONT face=Arial 
size=2>1.&nbsp;</FONT></SPAN><SPAN class=415541617-29072008><FONT face=Arial 
size=2>Send Mail</FONT></SPAN></DIV>
<DIV><SPAN class=415541617-29072008><FONT face=Arial size=2>2. Set container 
ERRNO to 9</FONT></SPAN></DIV>
<DIV><SPAN class=415541617-29072008><FONT face=Arial size=2>3. While ERRNO = 
9</FONT></SPAN></DIV>
<DIV><SPAN class=415541617-29072008><FONT face=Arial size=2>&nbsp;&nbsp; 
3a&nbsp; Call Program which returns a value into ERRNO (either 0, 1 or 
9)</FONT></SPAN></DIV>
<DIV><SPAN class=415541617-29072008><FONT face=Arial size=2>4. Send 
Mail</FONT></SPAN></DIV>
<DIV><SPAN class=415541617-29072008><FONT face=Arial size=2>5. Call Program 
for&nbsp;manager authorisation, returning a value into APPROVED (either true or 
false)</FONT></SPAN></DIV>
<DIV><SPAN class=415541617-29072008><FONT face=Arial size=2>6. Loop until 
APPROVED = 'true' (loops back to step 2)</FONT></SPAN></DIV>
<DIV><SPAN class=415541617-29072008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=415541617-29072008><FONT face=Arial size=2>When I execute the 
above, it executes step 1, and step 2, but then goes no 
further.</FONT></SPAN></DIV>
<DIV><SPAN class=415541617-29072008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=415541617-29072008><FONT face=Arial size=2>If I remove the two 
loops (i.e. the while at 3, and the until at 6) the steps at 1, 2, 3a, 4, 5 are 
executed</FONT></SPAN></DIV>
<DIV><SPAN class=415541617-29072008><FONT face=Arial size=2>I can then put back 
the while loop at 3, and then 1, 2, 3, 3a, 4, 5 are executed</FONT></SPAN></DIV>
<DIV><SPAN class=415541617-29072008><FONT face=Arial size=2>When I put back the 
until loop at 6 (looping back to step 2) the workflow executes step 1 and 2, but 
then halts at that point.</FONT></SPAN></DIV>
<DIV><SPAN class=415541617-29072008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=415541617-29072008><FONT face=Arial size=2>There is no error 
being produced (well, not in the workflow log anyway). </FONT></SPAN></DIV>
<DIV><SPAN class=415541617-29072008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=415541617-29072008><FONT face=Arial size=2>Could this be a 
problem with having a loop within a loop (especially two different types of 
loops)?</FONT></SPAN></DIV>
<DIV><SPAN class=415541617-29072008></SPAN><FONT face=Arial><FONT size=2>H<SPAN 
class=415541617-29072008>as anyone seen (and successfully got around) this 
problem before?</SPAN></FONT></FONT></DIV>
<DIV><SPAN class=415541617-29072008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=415541617-29072008></SPAN>&nbsp;</DIV>
<DIV><SPAN class=415541617-29072008><FONT face=Arial 
size=2>Adrian</FONT></SPAN></DIV>
<DIV><SPAN class=415541617-29072008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=415541617-29072008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>