title: Biztalk Pipeline That Will Disassemble Multiple Flat File Schemas
body: <p>In my BizTalk Project, I need to have a Receive Pipeline that will disassemble four different flat files that each have a unique schema. That's to say, the pipeline must resolve the schema of the flat file sent through as 1 of 4 flat file schemas dynamically at runtime. </p>
  
  <p>The best approach I have heard to do this is to just have 4 Flat File Disassemble shapes in the Disassemble stage of my pipeline. The logic behind this is that BizTalk will run through the disassemble shapes one by one until it matches the schema of the document to one of the schemas designated in the disassembler components - sort of like an if statement on the schema type. However, no matter which of the 4 documents I pass through, BizTalk seems to always want to go with the very first schema in line in the pipeline disassemble shapes.</p>
  
  <p>So my question(s): Can someone explain in more detail exactly what happens when more than one flat file disassemble shape gets added to a pipeline? Is there a better alternative than to take this approach?</p>