Skip to Content
avatar image
Former Member

Select one value from mutiple values from source and put it in single target field?

Dear All,

I have a problem in my hand.

My source structure is


And target structure is

Here I have to map LHC with CharValue only when charname = 'Logistics'. As multiple values are coming in source structure I am only getting first value from source. I tried using node functions but not able to crack it.

Can anybody help me in this?

Thanks.

SM.

pic1.JPG (18.1 kB)
pic2.JPG (15.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jun 09, 2014 at 10:49 AM

    Hi Sumeet,

    If you want all the values from source where charname = 'Logistics' then use the below logic

    For Data (node)

    charname map with default (blank) --> equals 'Logistics' then if without else map CharValuationChar --> Data


    For LHC


    charname map with default (blank) --> equals 'Logistics' then if without else map CharValue--> LHC


    regards,

    Harish



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Sumeet

      When you open the post in SCN, on each comment you will see the option's

      helpful answer, correct answer

      Select the comment as correct answer which you think solve your problem.

      Select the comment as helpful which you think was helpful.

      That's it. Very simple and easy.

  • avatar image
    Former Member
    Jun 09, 2014 at 10:40 AM

    Hi Sumeet,

    Try below logic,

    CharValue  -> RemoveContext  ->  equals (CharValue == Logistics) -> CreateIf -> LHC



    Also please provide screen shot of mapping logic you created along with display queues.


    Note : Source will be CharValue  and target will be LHC.


    Thanks

    Hari.

    Add comment
    10|10000 characters needed characters exceeded