08-23-04 10:50 PM
Of course, as soon as you post a message for help, you end up figuring it ou
t
yourself! I'll post my problem's answer for the benefit of anyone else who
is working on this when they are way too tired and have drank way too much
coffee.
My problem was quite simple, and now the message makes perfect sense. I was
attempting to execute the described lines in an Expression construct. I
moved it into the Construct Message construct with an embedded Message
Assignment construct and my XLANG/s errors vanished. I hate when the simple
things trip you up!
Richard.
"Richard" wrote:
> Microsoft gives a snippet for setting the subject of an email sent out fro
m
> an orchestration. They offer (from
> http://msdn.microsoft.com/library/d..._email_ymxa.asp):
>
> SP_Mail(Microsoft.XLANGs.BaseTypes.Address) =
> "mailto:myManager@myCompany.com";
> msgApprovalRequest(SMTP.Subject) = "Please review this Expense Report";
>
> for setting the mailto and subject. However, using the same structure,
> BizTalk 2004-XLANG/s is giving me the error "'<msgName>':message construct
ion
> must be done in a construct block." I believe my message is properly
> constructed and I can successfully receive it, ues information from it, an
d
> email its content to users. I just cannot seem to change the subject. I
> know many people send emails using orchestrations so I have to believe thi
s
> can be done pretty easily. I just don't know what I'm missing.
>
> Any thoughts?
>
> Richard.
[ Post a follow-up to this message ]
|