cancel
Showing results for 
Search instead for 
Did you mean: 

BpmPatternCollectMultiIf

former_member182412
Active Contributor
0 Kudos

Hi All,

i did finish whole scenario for this BPM.

i am sending first message, second message and third message it suppose to be give bundle of all three messages but is is giving only fist message.

i tested the mapping, in the mapping aslo it is giving first message only.

can any one please tell me what was the wrong?

Kind Regards,

Praveen.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Praveen,

Ur

source message

Messages

-


Message1

-


one_mt

-


details----1...unbounded

-


employee

-


Message2

-


two_mt

-


details-----1..unbounded

-


employee

-


Ur target message should be look like

Messages

-


message1

-


target_mt

-


details-----1..unbounded

-


employee

-


details-----1..unbounded

-


employee

-


For this you can do by Duplicating the Subtree, Place the Cursor on details node and right click choose Duplicate Subtree. u can able to view the target message as above. Do 1:1 mapping from first message of details to 1st node of details in target and 2nd message of details to 2nd node of details in target.In similar way for employee also.

So that you can able to view the all records from 2 source messages in your Single target message.

Try this and let me know u r proceedings.

Cheers

Veera

Reward Points, if it is needful

former_member182412
Active Contributor
0 Kudos

Hi Veera,

Thank you very much for your help, my problem is solved.

Kind Regards,

praveen

Former Member
0 Kudos

Hi,

I hope your integration process contains the following.

Fork-3 recieve steps in 3 branches-transformation-send.

Also the correaltion field exist in all three messages.

Please also check the containers.

I have encountered a similar scenario a similar scenario.

Reward points if useful.

Thanks,

Sidhvin Mada

Former Member
0 Kudos

Hi Praveen,

have you tested u r message mapping.what is the result of that mapping.R u able to see the records from two messages in target message. Once test u r mapping and give the result of that.

Cheers

Veera

former_member182412
Active Contributor
0 Kudos

Hi Veera,

I am not able to see record from two messages.

Can you please explain me which nodes i must map iam liitle bit confusing about mapping.

if you did this mapping already can you post me the example mapping.

Kind Regards,

praveen

Former Member
0 Kudos

May be there is a problem with the correlations that you are using.

Check it out.

Make sure the fields that you are using for correlation carry the same value accross all the three messages.

Regards,

Hari.

former_member182412
Active Contributor
0 Kudos

i gave same value to all three messages

former_member182412
Active Contributor
0 Kudos

Hi All,

I got the two different file structures and i need to map it to one file structure.

I did all the steps and everything is working but N:1 mapping is not working.

i got the structure like this.

-


source message

Messages

-


Message1

-


one_mt

-


details----1...unbounded

-


employee

-


Message2

-


two_mt

-


details-----1..unbounded

-


employee

-


target message

Messages

-


message1

-


target_mt

-


details-----1..unbounded

-


employee

-


if the first file got 10 records and second file got 20 records. the target structure must be 30 records.

i did map one_mt/details to target_mt/details and context i set to root node that is messages.

i did map one_mt/employee and target/employee.

can anyone please tell me the maping is enough or is there anything i need to map.

because i am getting only first message only.

i did search the forum everybody is saying we can do this but when i try its not working.

can we achive this using graphical mapping???

if yes please give me how can i map???

Kind Regards,

Praveen.

Edited by: Praveen Kumar on Dec 20, 2007 8:47 AM