|
Home > Archive > BizTalk Server Orchestration > January 2006 > use of constructed message on output message from sub-orch after l
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
use of constructed message on output message from sub-orch after l
|
|
| Neal Walters 2006-01-31, 6:59 pm |
| I needed to do correlation in a loop, so I broke that off to a
sub-orchestration. In other words, the loop contains the call to the
sub-orch.
The suborch receives as a request messagea as input parameter, and returns a
response message as an output parameter.
I have debug/expression shapes sprinkled throughout my code.
When I "build", I don't get "use of constructed message" inside the loop,
but on the first debug after the loop I get it.
Is there type of local scope for loops? How do I get around this?
Thanks,
Neal Walters
http://Biztalk-Training.com
| |
| Tomas Restrepo \(MVP\) 2006-01-31, 6:59 pm |
| Neal,
>I needed to do correlation in a loop, so I broke that off to a
> sub-orchestration. In other words, the loop contains the call to the
> sub-orch.
>
> The suborch receives as a request messagea as input parameter, and returns
> a
> response message as an output parameter.
>
> I have debug/expression shapes sprinkled throughout my code.
> When I "build", I don't get "use of constructed message" inside the loop,
> but on the first debug after the loop I get it.
>
> Is there type of local scope for loops? How do I get around this?
WHy don't you just add a scope inside the loop shape, and move all your
stuff into it (including the message variable declaration)? That should fix
it, I think, since now your message variable will be a completely new
variable everytime the loop goes.
--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/
|
|
|
|
|