Forum Discussion
1 Reply
- stephenknilansContributor
You can use a mapper with the nullsafe option turned on, and specify the fields that you need on the source and target. That should give you a null value. You can also simply replace the source value with a string like:
((‘LAST_NAME’ in $)?$LAST_NAME: null)
This is basically two commands:
- (X in Y) which returns true if X is in Y. $ means the variables in this path.
- (X ? Y: Z) which means that if X is true then Y else Z