on 03-24-2016 10:11 AM
I am doing a mapping. I have a field in source "Details". It is sent as a string The string may contain constants like Price, Brand, Year.
If the string contains "Price", I have to send the vale "X" to the target field Price
If the string contains "Brand", I have to send the vale "X" to the target field Brand
If the string contains "Year", I have to send the vale "X" to the target field Year
The source string Details can contain all the three constants, two constanst, one constant or none
Source
Details
Target
Price
Brand
Year
Is UDF needed for this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Midhun.
Not required.
You can use If then without Else and acheive it.
Like
String------------
Equals-----------------------------------If
price----------- ---------------------------------Price
Price(constant)- ---Then
The same for other 2 fields.
Let us know if you face any issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.