Forum Discussion
4 Replies
- ptaylorEmployee
I recommend a Mapper expression using the Array filter function:
- wcl3y2New 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.
- ptaylorEmployee
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)
- wcl3y2New Contributor III
Thanks for the help!