Forum Discussion
wcl3y2
5 years agoNew Contributor III
Thanks for the suggestion. I can do that, but I want the rest of the objects that are filtered out to be included in the end result untouched. I was hoping that I could just filter the ones I need to change in the mapping root with one snap instead of multiple.
ptaylor
5 years agoEmployee
Ok, so you want all the elements of the array in the result, not a subset, right? So in your Mapper with the Mapping Root Set, you could make every expression conditional:
condition ? (value-if-true) : (value-if-false)