Create dynamic file name in BizTalk 2013
i new biztalk , have been tasked developing orchestration transfer incoming file ftp server. filename has include current date timestamp. inside expression shape tried using simple command assign current year string variable:
fileyear = system.datetime.now.tostring("yyyy");
seems simple enough, when go orchestration debugger , step through orchestration discover variable fileyear not assigned value when step through expression shape, value remains "null".
is wrong approach?
hi,
please try this
newfilename = newfilename + "output_" + system.datetime.now.year.tostring() + "-" + system.datetime.now.month.tostring(); message_2(file.receivedfilename) = newfilename;
for more detailed information, can refer here
in additon, can refer information:
http://blogs.msdn.com/b/richardbpi/archive/2006/07/05/656948.aspx
hope can you.
<the content provided "as is" without warranty of kind, whether express or implied> thanks
msdn community support
please remember "mark answer" responses resolved issue.it common way recognize have helped you, , makes easier other visitors find resolution later.
BizTalk Server > BizTalk Server General
Comments
Post a Comment