cancel
Showing results for 
Search instead for 
Did you mean: 

Graphical Mapping - From flat structure to records structure

Former Member
0 Kudos

HI,

I have the following scenario.  I need to move from a flat structure to a record structure. The message source is a flat structure of four fields:

MESSAGE_SOURCE

   A

   B

   C

   D

and message target must be created like this:

MESSAGE_TARGET

   ITEMS

     1-A

     2-B

     3-C

     4-D

  The message target is an external definition. I'm using graphical mapping and don't works Duplicate Node, as I can do?.

 

Regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

It was a system error, we applied the note 1371541 - Duplicate subtree Message Mapping is not working properly. Additionally, run the Configuration Wizard "PI / ESR Support Package Update" from the NWA and it works correctly.

 

What I did to simulate repeating each line was empty to assign a constant loop node to generate several duplicate tree.

Regards,

Answers (1)

Answers (1)

former_member184681
Active Contributor
0 Kudos

Hi Johnny,

If I got your question right, the only problem you have is related to contexts. You need to put a context change between each two values of source message. You can use the splitByValue(Each Value) standard mapping function for that purpose.

You might also want to get back to basic graphical mapping principles in my blog below:

Regards,

Greg