Allow for "OR" conditions in rules

Jennifer_Kunz

MVP

09-01-2019

Currently, multiple conditions seem to always take an "AND" operator- for anything "OR", I go to custom code. It would be very helpful to be able to use "OR" conditions.
For instance, if I needed to have a condition like "if the pagename is 'home' OR the page type is "product details", I would have to resort to a custom code condition, or creating multiple rules.

icebox
5 Comments (5 New)
5 Comments

gflare

07-02-2019

I agree, this and the ability to have nested conditions would be a huge enhancement for the current system.
Allow for nested conditions in Launch rules

Condition1 AND Condition2

OR

Condition3 AND Condition4

From a purely functional perspective (if adobe takes the easy way), it may be possible to have additional layers of condition groups.  Then it would already be possible in launch, and function correctly.

I'll post a mock-up later today...

gflare

07-02-2019

Again, this isn't the most flexible optimal solution (meaning it doesn't allow for any combinations of nested AND / OR operators), but could allow most of the functionality within the way Launch operates today.  It'd be better than nothing, with less room for error...

Using a new feature: "Add condition layer" , you create an alternative condition set that can be evaluated (essentially the OR operator, allowing combined AND operators)

Launch Conditions Example Feb2019 - 01.png

Here is a visual on these "condition layers" , showing clearly the layers that get evaluated sequentially.  If a layer evaluates as 'true' , then Launch knows the rule will fire and doesn't need to evaluate lower levels.

Launch Conditions Example Feb2019 - 02.png

Antti_Ko

23-03-2019

Voted. Would be very useful!

Sunil_Yadav1

08-07-2019

It would be nice to have it.

thebenrobb

Employee

18-02-2020

 
Status changed to: Accepted