cancel
Showing results for 
Search instead for 
Did you mean: 

Create n Messages inside a BPM

AntonioSanz
Active Participant
0 Kudos

Hi all,

     I have next requirement:

    I have to split one message into n messages. My source message has a header and lines. For each header I have to split it into several interfaces (of the same type) one per header. I have implemented the mapping 1 to n and the operation mapping. Now, I want to send them (n times) to the receiver.

I have implemented a simple BPM, I get the message , but I not sure how it follows. I mean, I should add a transformation step using 1 to n mapping i guess. But do I have to define a multiline value as the target of my mapping? How can I send the multiline interface in the sender step?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

udo_martens
Active Contributor
0 Kudos

Hi,

I mean, I should add a transformation step using 1 to n mapping i guess.

Yes.

But do I have to define a multiline value as the target of my mapping?

Yes

How can I send the multiline interface in the sender step?

You create a block in modus "ForEach" (processing one by one) or "ParForEach" (all together). Inside the block you put your send step.

Regards,

Udo

Answers (1)

Answers (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Sanz,

I dont think you required BPM design, normal scenario with multi mapping works,

You need to build a mapping logic to generate multiple messages.

Regards,

Raj