on 10-09-2013 7:30 AM
Hi All,
I am facing the issue in value mapping. I have two Source values which I want to map with a single Target value i.e N:1.
my scenario is either of the values, 'Shoes' or 'Footwear', under agency | schema 'BS_SENDER_01 | Nike_UK' will be mapped to the value 'Sneakers' under the agency-schema 'BS_RECEIVER_01 | Nike_US'.
I have created one Value Mapping group for Shoes to Sneakers successfully , now while creating another value Mapping Group for Footwear to Sneaker I am not able to create that. Its giving Error :-
" Check Result for Object ValueMapping_Test
Value BS_RECEIVER_01 | Nike_US | Sneakers already exists in value-mapping group with ID 789d59d7-300... |
"
So my question is can I do this using Value Mapping?? if yes then how????? or I have to go for different approach for like "If-Else"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gurav,
From my point of view, if the cantity of values increase, the If-then logic could be very confused. On other hand, with vm you have the configuration values in the configuration side of PI, in the integration directory, with the other option you have them only in the design side.
Regards.
Hi Gaurav,
As far as I know the value-mapping function doesn't let you to have two different source values with the same target value. I usually use this little trick:
a ---- 123
b ---- 123
c ---- 123
I would configure this:
a ---- 123_1
b ---- 123_2
c ---- 123_3
Later i would use the function substring to take the first 3 characters.
I hope this helps
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.