Filter: AND of ORs
reviewed
Jeremy Brunet
It's impossible to set up a first mandatory condition and pair it with a bunch of accessory conditions to filter data. Nesting "or" conditions into one "and" condition is quite frequent, especially when your scenario is meant to process a lot of data.
Is it possible to setup a filter as follows: X AND (A OR B OR C OR D .... ). I know I can do (A AND X ) OR (B AND X) OR (C AND X) .... but I was hoping to avoid that extra work.
-------------------------
BEST PRACTICE:
Employ two filters with a dummy Router module between them: first with the mandatory condition and second with a bunch of accessory conditions.
SEE ALSO:
Log In
Ilia Sablukov
marked this post as
reviewed
Joachim
I would need to have OR conditions in the first trigger module.
Ben Merryman
The dummy router + consecutive filtering method works, but having either a "custom code block" or enhancing the AND / OR logic to have nesting would be ideal.
Oleg
This would be useful. Also multiple ORs within one condition do not work as expected.
Michal Máša
WORKAROUND: Employ two filters with a dummy module between them: first with the mandatory condition and second with a bunch of accessory conditions.
Jeremy Brunet
Michal Máša: Yep, just did that with a router between two consecutive filters.