BizTalk Experts


FileMask Macros in Biztalk

It’s possible to set the filename of a messages that your are going to send out in the orchestration. Just set the  ‘ReceivedFileName’ context property of the outbound messages that you created.

This should look like this:
OutboundMessage(FILE.ReceivedFileName) = "TheNewFancyFileName.xml";

After this you have to set the filemask in the sendport to %SourceFileName% (it’s case sensitive). The %SourceFileName% macro does not need an additional extension (like .xml or .txt) after it like the %MessageId% macro. (more…)