Monday, August 21, 2017

Combining / Merging multiple repeated records from source into single record in destination with conditional through Biztalk map

1. Source xml as below
             Source xml has 6 records and we have to skip 4 & 6 records based on condition but the same time, all source records should be mapped into single record


2. Expected destination xml as below


3. Map

4. Inline XSLT Call Template details



5. we can use the different values for conditional instead of position

1 comment:

Senthil Kumar said...

I used this code into my application and this works fine. Earlier I used two maps to archive this but after I saw your article, I updated my code.

 test