Filtering Array Elements to Map Based on a Condition
When mapping arrays of objects, you can filter the objects that are mapped by specifying a filter in the Filter by field when Configure with Source option is selected.
Specify the filter in the Filter by field. The Select Source value is the scope of the element that is mapped and the Loop name is the scoping variable.
To add the filter in the Filter by field, the Source name and the Loop name must be specified.
Here's an example that contains a filter in the Filter by field:

The above example indicates the following:
- objArray1 is being mapped to objArray in Available data
- When iterating through objArray in the Available data, only the array elements in objArray whose child element, user is "Jane" get mapped. If user is not equal to "Jane" the iteration for that object is skipped and objArray1 does not acquire that object.
- $loop here specifies the scope of the current loop that is being iterated, in this case objArray, whose scope is objArray1 in Available data.