What is your goal?
I want the filter not to pass the mentioned item.
What is the problem?
I created scenario Using Parse JSON as source model connecting with iterator. Input fields in JSON is an array containing 3 collections. Each collection has 3 items. Router is connected with iterate and between them filter is used for map the only 2 required field out of 3. With router, Array aggregator and text aggregator is routed. Base on the filter, only 2 collections should be passed through router but all 3 are passing through it and filter is not working, what is the solution for it? This is how i fill out the filter. One out of 3 is equal to none, but it passes it too. I’m uploading some more screenshots of scenario in below.
Screenshots: scenario setup, module configuration, errors
Hey Hadeed,
can you show some screenshots demonstrating what you mean? If I understand you correctly filters will block bundles, but they will not block individual collections from the bundles that pass.
According to the Make Academy lesson, the output should be:
The Text aggregator produces a single text string. For example:
Bundle 1: (Collection)
text: Paul - vegan
Lukas - vegetarian
The Array aggregator produces a structured array of collections. For example:
Bundle 1: (Collection)
Array: (Array)
1: (Collection)
name: Paul
dietary_preference: vegan
2: (Collection)
name: Lukas
dietary_preference: vegetarian
__IMTAGGLENGTH__: 2
But my output is passing the 3rd bundle too.
Can you specify which screenshot i should share with you from the secnario?
How the modules are setup and what the output bundles look like.
Thank you for your convenience, the issue is resolved. The text field of the condition section in the filter option is case-sensitive, and I typed “N” (capital) for the text ‘none’, while the output of the previous modules was in lowercase.