cancel
Showing results for 
Search instead for 
Did you mean: 

N:1 Multi-Mapping by using NW BPM

stephen_xue
Active Participant
0 Kudos

Hi Gurus,

I have a requirement to merge data from two source messages into a target message. NW BPM has been used in the scenario to merge the data. The operation mapping for the data merge step has been successfully imported to the process in the NWDS.

however the message sent out from BPM is always empty. my questions are:

1. is there a way to monitor the import and export message of the operation mapping used by BPM? I cannot find the relevant message in the message monitor.

2. how can the messages be merged via NW BPM? there is no correlation ID used in two source messages. what happened is just merge the data from multiple source messages into one message. for example:

message 1:

<Message1>

     <Country>Australia</Country>

</Message1>

message 2:

<Message2>

     <Name>David</Name>

</Message2>

target message:

<Message>

     <country>Australia</country>

     <name>David</name>

</Message>

note: I am not talking about the mapping step of BPM. I am talking about how this can be fulfilled via the imported operation mapping. the real logic is too complex to be fulfilled by using BPM build-in graphic mapping.

here is the process flow designed

Accepted Solutions (1)

Accepted Solutions (1)

former_member186851
Active Contributor
0 Kudos

Hello Stephen,

Get the message in NWBPM and use the mapping step .

In the mapping step use append mode to one message to other.

iddorijsdijk
Explorer
0 Kudos

I'm not sure whether I understand you. I have one APERAK and one ORDERS message which I combine to one ORDRSP message. I've created the automated activity like this:

How should I combine the APERAK and ORDERS message? This is done by the input mapping of the automated activity, right?

former_member186851
Active Contributor
0 Kudos

you can refer the below pattern

If your stuck somewhere let me know.

iddorijsdijk
Explorer
0 Kudos

Thanks, this should work well when you want to combine multiple instances of the same message structure. That is not the case here: I want to merge two different message structures to one.

former_member186851
Active Contributor
0 Kudos


Aperak used in wait message right?

Seems to be good.

iddorijsdijk
Explorer
0 Kudos

Yes, it does work good, except for the mapping part which always ends up with an empty target message. The Data Objects DO_ORDERS and DO_Aperak contain the right values.

former_member186851
Active Contributor
0 Kudos

Did you map them to the correct data artifacts in all the steps.?

iddorijsdijk
Explorer
0 Kudos

Just a straight forward mapping. The real mapping logic comes in the operation mapping.

former_member186851
Active Contributor
0 Kudos

yes..I understand..but if you missing mapping the artifacts at any step you will miss the data.

iddorijsdijk
Explorer
0 Kudos

I implemented a work-around: I added the ORDERS and APERAK message to a single canonical format and created the (1:1) mapping from this canonical format. This works for now.

former_member186851
Active Contributor
0 Kudos

Nice to hear.Please close the thread.

iddorijsdijk
Explorer
0 Kudos

I can't: it's not my thread

former_member186851
Active Contributor
0 Kudos

cool..

stephen_xue
Active Participant
0 Kudos

sorry for the late close.

Answers (1)

Answers (1)

iddorijsdijk
Explorer
0 Kudos

Hi Stephen,

I was wondering whether you managed to get your mapping up and running. I have the exact same issue: a N:1 mapping in BPM ends up with an empty target message; only the constants in the mapping are filled.