Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Email Message Content › Re: Email Message Content
OK – I did a bit better here now. I added the assignmetn shape inside the current construct shape. So th eblue arrow shape is above the green arrow shape to make things clear. In the blue arrow shape I create a new message from the incoming one. There is a field called “Name” that is promoted in both the incoming and new message. This field is what I want in the body of the email.
In the assignment shape I get the red squigglies with the “.Record” or with just “.Name” The current code is below. DOH_XML_Output and Input are the new and old messages.
DOH_XML_Output = DOH_XML_Input.Name;
DOH_XML_Output(SMTP.EmailBodyText) = DOH_XML_Output.Record.Name;
Much thanks for any help.