02-10-06 10:51 PM
I think that setting the loop variable is the best option you have. Another
option is to put the loop inside a Scope shape with an Exception Handler to
ApplicationException. Inside the loop, when you want to stop processing, jus
t
throw an application exception (I still prefer the loop variable option).
--
MaurĂ_cio Ritter
MCP (Biztalk 2004), MCSD (VC++, VB, VB.NET), MCAD
MCSE (Win2000), MCDBA (SQL2000), MCT years 2002 to 2005
http://www.dotnetmaniacs.com.br
"Competitive Dad" wrote:
> I've got a Loop in my orchestration that has a decision in it also.
>
> The decision is based on a boolean result from a web service call.
>
> If false, which means a message has not been received by a database, the
> thing waits a minute, adds to a loop variable and loops. It does this 3 ti
mes.
>
> If true it goes and gets the result. Problem is it is still in the loop so
I
> need to break out of it to continue on. I can set the loop variable I've
> created in this decision branch so that it won't loop again, but that seem
s a
> bit untidy.
>
> Is there a better way of doing this?
>
> Thanks,
>
> Martin
[ Post a follow-up to this message ]
|