Hey guys,
I’m stuck on a simple filter for my scenario. Basically I would like to set the filter to be If A AND B AND (C or D). So A and B are a must and need to be either C or D to continue in the scenario.
I have a feeling that the below Filter Setup is not correct, it looks like A AND B OR C OR D - so im not sure if its equivalent to A AND B AND (C OR D)
Any tips of how to set this filter? IF it is correct then I understand Make’s UI (to some extent)
Your filter has to be set this way:
A & B & C
OR
A & B & D
Explanation
In Make, the OR predicate (rule) splits the conditions into different condition “groups”.
To achieve what you are trying to do, you need to group the “must-haves” (A & B), and repeat them for each of the “or”-items.
You have two items in the “or” list (C or D), so you need two condition groups.
Alternative Solution
You can also combine C & D into a single condition using the boolean operator.
total_bundles = null OR record_active = 1
Boolean operators: Equal to
{{true}}
In this way, you can simply just do A & B & X
Hope this helps! Let me know if there are any further questions or issues.
You can also join us in the Make Fans Discord server to chat with other makers!
2 Likes
Hey @OmriNyx
This will work with your scenario
1 Like
Excellent, thank you for both solutions @samliew Excatly what I needed
@ManishMandot Many thanks ! Similar to what Sam said. Much apprecaited