Skip to content

Add 'not contains string' operator for value comparison condition

Hi team,

I noticed the Value Comparison Condition has a "contains string" but not a "does not contain string" operator. We have a use case where having both operators would be beneficial. In our current case it's about reducing risk of two rules firing when one or the other is the desired outcome.

I've written unit tests for the new operator - they pass - and tested it manually. Everything seems to work fine.

I've also bumped the version number in info.xml to 2.11.1 but will happily take guidance (or direct commits) on what is more appropriate.

Please let me know if you have any questions or concerns. Apologies for the test file; something went wobbly with line endings.

Cheers, John

Merge request reports