cancel
Showing results for 
Search instead for 
Did you mean: 

Value mapping with some return values

Former Member
0 Kudos

Hi Experts,

I am facing value mapping problem.

My requirment was My source elemnet having 4 value mapping(Key and Values) and also if not passing that 4 keys also it will display same thing in my reciver.

Can Anybody please suggest me how can i handle this situvation.

(01 02

02 03

04 05

06 08)

this are the value mapping .out of this if iam passing any like(00 it will goes to dn field).This is my requirment.Can u please let me know how can i handle tthis.

Accepted Solutions (1)

Accepted Solutions (1)

former_member854360
Active Contributor
0 Kudos

Hi,

For you Requirement Please use USE key option.

In graphical mapping when you will select valuemapping function then you can see the

"Behaviour if lookup fails " option

Double click on the value mapping function to see this options.

There 3 options for lookup fails:

1)USE KEY

2)throw Exception

3)Use default value

you can select use key for your requirement.

If you pass 00 as input to value mapping and it unable to find any value in value mapping for 00.

then it will pass 00 to the targhet without any conversion(in case of use key option)

If you pass 01 then it wiill do value mapping and send 02 to target.

Former Member
0 Kudos

Thank you problem solved

Answers (0)