Allow for "OR" conditions in rules | Community
Skip to main content
Jennifer_Kunz
Adobe Champion
Adobe Champion
January 9, 2019
Accepted

Allow for "OR" conditions in rules

  • January 9, 2019
  • 12 replies
  • 16363 views

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.

12 replies

Level 4
February 7, 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...

Level 4
February 7, 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)

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.

Level 5
March 24, 2019

Voted. Would be very useful!

Sunil_Yadav1-1
July 8, 2019

It would be nice to have it.

thebenrobb
Adobe Employee
Adobe Employee
February 18, 2020
No text available
Level 2
February 28, 2022

@thebenrobb What's the status on this update?

brandonkern
Level 2
May 27, 2022

@thebenrobb What's the status on this update?

October 18, 2022

@thebenrobb What's the status on this please?

May 18, 2023

Hi @thebenrobb . Just showing interest in this. Would really be nice to have. Any new news?!
Thanks in advance.

Level 2
December 18, 2023

Any news?
How OR Conditions could be done?