Multiple Messages into one in BizTalk

Brhmadic Kumar Gautam 0 Reputation points
2024-01-08T11:28:56.89+00:00

I am receiving multiple messages (whose schema I have), now I want to add these all messages to a new schema (schema I have with me), I was trying to make an Orchestration in many different approaches but none of it worked, can anyone please suggest me how to proceed with this problem.

I am using BizTalk 2020, and all my artifacts are in VS 2019.

Microsoft BizTalk Server
Microsoft BizTalk Server
A family of Microsoft server products that support large-scale implementation management of enterprise application integration processes.
349 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Muhammad Ehsan 0 Reputation points
    2024-03-13T19:38:38.42+00:00

    If you are trying to map multiple incoming messages (schemas) to a single outgoing message (schema), you need to create a new map within the orchestration. Here are the steps:

    • Create an empty orchestration.
    • Create all the message types you need (all the input messages and the output message)
    • Drag a construct message shape and a transform shape onto there.
    • Configure the transform shape and add all your input messages to the Transform Source list

    Multi source transform

    • Set the output message as usual and click OK
    • A map file should appear in your project. Open it
    • You will see on the left-hand side all your input messages are now available in the mapper (under Root/InputMessagePart_1, _2, etc)

    Multi input mapper

    You can then rename/move the map as needed.

    0 comments No comments