07-16-04 07:48 AM
Hi Neal,
I've had this too. I think it's due to the way the BizTalk constructmessag w
orks.
When the construct shape starts, it will create a new instance of doc2, and
the
original message will not be present.
One option you could take is to perform the map, then in the same construct
shape, add a message assignment shape below the transform. In this shape,
use an if statement to make the doc2 modification.
Cheers,
Alan.
BizTalk & .net
Consulting Training Mentoring
Stockholm London Europe
See aboutme for contact info
"Neal Walters" wrote:
> We receive doc1, we transform doc1 to doc2. We then have a decide shape t
hat branches based on a value in doc2. THEN, in the two branches of the dec
ide shape, we want to change the value of a distinguished field in doc2.
>
> The Expression shape disallows and says we have to be in a construct message shape
. If we use an assign message (inside a construct) shape, we still get the compile
error that says "unconstructed message". We know that it has been constructed. Doe
sn'
t the message keep flowing on forward. Can you not change any of its values once it has bee
n constructed???
>
> Thanks,
> Neal Walters
> http://Biztalk-Training.com
>
[ Post a follow-up to this message ]
|