Re: processing flat files after a trigger file is created

Home Page Forums BizTalk 2004 – BizTalk 2010 processing flat files after a trigger file is created Re: processing flat files after a trigger file is created

#20464

I would look at creating a batching orchestration that uses a sequential convoy pattern.  The batching orch can receive the files in a loop.  The loop should contain a listen shape with two receives: one receive for the data files and one receive for the trigger file.  You can differentiate between the files using file masks on the receive location.  Receiving the trigger file should break out of the loop and continue processing.  It would be nice if you could somehow delay BizTalk from consuming the data files until the trigger file arrives.  BizTalk doesn’t work that way though, so you need to use a batching orch.  Otherwise, BizTalk will see the data files as unexpected and will throw an exception.