on 10-11-2006 7:29 PM
Hi Guys,
I have a mapping scenario,
<b>Source</b> <b>Target</b>
Name >>> Name1
First >>> First1
Last >>> Last1
Address >>> Address1
Now is it possible that if i don't pass any value to a particular element say 'Last' in source then 'Last1' should not be present in the resulted mapping. I.e the result of the mapping should have only Name1, First1 and Address1. and if 'Last' is passed some value then all the four should appear in the result.
Cheers,
Ashish
Hi,
Yes it is simple...
First make sure the ocurance of the Last1 is 0..1
Last
Equals-->Not-->IfWithoutElse -->Last1
/ /
Constant("") Last
Thanks,
Prakash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes, it is possible.
, check with EXISTS built in node function to findout if you have input field value, with If node Exists then Map SOurce to target (if without else)
Or createIf node function.
good guide to know-
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.