Sending same input file to send location with file name changed RRS feed

  • Question

  • Hello,

    can anyone help me with below please?

    I have a requirement where biztalk  picks up a file and create 2 copies of the same input file and send to same Send  location with filenames changed . I was thinking to use the macro as %SourceFilename%_xx(xx can be something different to be suffixed) and another file to be %SourceFilename%_xy but to do this is there any simple way rather than creating 2 send ports with same send location configured with those macro's in each. 

    Any quick help/suggestions would be helpful as its a bit urgent requirement. Thank you. 

    Friday, May 10, 2019 4:13 PM

All replies

  • create a send port with archive pipeline. use %SourceFilename%_xx  for actual send location filename and %SourceFilename%_xy while configuring the archive pipeline. mention same location for both of them
    • Edited by AshuJ Wednesday, May 15, 2019 9:21 PM
    Wednesday, May 15, 2019 9:21 PM
  • There is absolutely nothing wrong with creating two Send Ports.  Do not use an Archive Component.

    So, create two Send Ports, one to support each case.

    Thursday, May 16, 2019 1:29 AM