Getting file name after sending

Home Page Forums BizTalk 2004 – BizTalk 2010 Getting file name after sending

Viewing 1 reply thread
  • Author
    Posts
    • #17919

      Hi All,

       After sending the file from the send port within an orchestration I need the FileName of that file at the next step of the orchestration to do some work. Since BizTalk itself generates a unique %MessageID%.xml for the file, we dont know the name of it within the orch. We are comfortable with this naming from BizTalk but just need that File name or in other words the MessageID so that it can be used at the next step.

       

      Regards,

      Sajid.

    • #17920

      Sajid,

      The MessageID is not yet available in your orchestration.
      You can create a Dynamic Send Port and set the folder and file in an Expression Shape:
      Outport(Microsoft.XLANGs.BaseTypes.Address) = @"file://C:\filedrop\filename.xml";

      That's all!

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.