Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Capturing promoted properties in the orch. › Capturing promoted properties in the orch.
There are a number of ways of doing this.
1. Declare the properties you wish to use on the outbound message, using the same properties schema used for the header.
In a message assignment you can copy the message context:
outputmessage(*) = inputmessage(*); //copies all properties
outputmessage(Your.property) = inputmessage(Your.property)
The output pipeline will demote the properties into the appropraite message fields.
1. You can specifically assign values to the outputmessage using distinguished fields or the xpath function
outputmessage.field = inputmessage(Your.property);
xpath(outputmessage,<xpath of field>) = inputmessage(Your.property)