cancel
Showing results for 
Search instead for 
Did you mean: 

Value Mapping : Different Source - Same Target

Former Member
0 Kudos

Hi all,

Is it possible to map the different source value to the same target value with XI Value mappuing.

Because when i try to set the same target value for a second value .. the directory delete it for the first one.

for example i have:

Value1

Value2 --- newValue1

Value3

Value4 --- newValue2

Value5 --- newValue3

is it possible to build this somehow with ValueMapping?

Regards,

Robin

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

If you are trying to write multiple values to one target value, the target value will get overwritten unless you specify otherwise. If you would like to append all the values together in one field, then you can do this with a user defined function. I imagine you would use a queue function and loop through multiple inputs ( ex: a<i> , where i starts at 0 ). That way each time a new value came in, you could append it to the previous string.

former_member189558
Contributor
0 Kudos

Robin,

right click on teh target field and do a duplicate subtree...

duplicate it as many times u want for the number of source fields.

This solves your problem...

Cheers,

Himadri

Former Member
0 Kudos

Hi,

no you missunderstood.

i useing the conversion function Value mapping.

The Values i set in Directory -> Tools -> Value mapping.

What i want know, is if value 1 and value 2 comes the value mapping hast to give back for both the same... value 3.

im only intressting of the values .. no structure other something else.

Regards,

Robin

Former Member
0 Kudos

I build a workarround where i count the target values likee

1_value ... 2_value ... 3_value

Other way isn't possible i guess... because Value mapping is based on the idea that it should work in both sides.

Regards,

Robin

Former Member
0 Kudos

Hi,

Can you try with Fix Value mapping in the Message Mapping.

I think you will not have the same problem there.

Regards

Vijaya