How to correlate on part of filename?

Home Page Forums BizTalk 2004 – BizTalk 2010 How to correlate on part of filename?

Viewing 1 reply thread
  • Author
    Posts
    • #13549

      The Scenario i’m facing:

      Send a file G0001.TXT (using Passingthrough) and then get a response file either to be G0001.ACK or G0001.ERROR.

      The orchestration i set up is like this:

      START
      |
      Receive Gfile (activate)
      |
      Send Gfile (initialize correlation)
      |
      Listen (for response)
      _________|____________
      | |
      Receive ACK Receive ERROR
      (Follow Correlation) (Follow correlation)
      | |
      Send ACK Send ERROR
      |______________________|
      |
      END

      How can i set up the correlation properly? Since file extension is different.

      I tried just use the correlation to be FILE.ReceivedFileName, Files can be transmitted but got warnings like this:

      \”The FILE send adapter cannot open file C:\\TestLocation\\G0005.INT for writing.\”

    • #13550

      Correlation normally works on a promoted field inside the file, so the filename itself is irrelevant.

      Neal Walters
      http://Biztalk-Training.com

      • #13551

        Set CopyMode=2 in orchestration for the specific outgoing message and set overwrite property in the physical SendPort in Biztalk Explorer.

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