cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with multiline

Former Member
0 Kudos

Dear all,

My requirement is like thiis.

I have n senders(10) which i need to merge in to 1 and send to the receiver.

Logic implemented:

1)Loop:

Counter!=5.

2)Receiver

LineElement

3)Container1

Append single line element to multi line element

4)container2

Assign counter+1.

end loop

5)Transfermation

interface mapping

Single line element

target interface

Note:

If I take the line item as Multiline I am geeting an error that the element must not return multi line

6)send

targetinterface

when I execute the same I am getting 2 different messages ie 2 different files are generated with out merging.

Kindly help.

Thanks,

Srinivas

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

use the following process in the BPM

start>loop>receive>container1>container2>transform>send-->stop

container1-->to collect the multiple idocs.

container2-->to increment the value of the variable to check the loop condition.

-


>If I take the line item as Multiline I am geeting an error that the element must not return multi line

if you are getting the error as, that the element must not return multi line

for that check whether the occurence for the target node is 0..unbounded.

Thanks

Rinku

Former Member
0 Kudos

The Occurences of the Target node are 0...unbounded

Answers (1)

Answers (1)

DivijaKN
Advisor
Advisor
0 Kudos

Message was deleted.

Former Member
0 Kudos

Hi Srinivas,

If you have ten senders, your loop should run 10 times, isnt it? Why are you running it 5 times?

Regards,

Divija.

Former Member
0 Kudos

ok if i have say only 5 receivers,i am getting 5 different files generated .the problem is they are not getting merged.

Thanks,

Srinivasa