Skip to Content

Graphical Mapping - From flat structure to records structure

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Aug 24, 2012 at 09:56 PM

    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,

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 21, 2012 at 12:16 PM

    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:

    Queues & contexts concept of graphical mapping: understand it to turn it into your advantage

    Regards,

    Greg

    Add comment
    10|10000 characters needed characters exceeded