Friday, December 5, 2008

Defining new filenames for send handler

How to create more ellaborated filename?


Following the list of predefined file names given on my previous post, how can you get more than what Biztalk gives you?

Solution:


You can change the SourceFileName. In the construct message block of the orchestration use something like the following:

Message_2 = Message_1;
Message_2(FILE.ReceivedFileName) = "your_value"+ToString(Message_1.id);

And then when you are defining the send port use File Name as usually: %SourceFileName%

No comments: