I currently have an automated rule set up as follows, using the Archive inactive pages when scheduled (recurring) template as a base:
- Scheduled: daily run
- branch: For each inactive page
- Condition: If {{page.parent.title}} does not equal {{value1}}
- Condition: And {{page.parent.title}} does not equal {{value2}}
- Then: Archive page
The goal result is to archive all inactive pages except for those that have certain parent pages.
How do I set it up so that 2nd condition is an OR, not an AND? There doesn't seem to be any configuration item to change that.
Or is it a moot point in this case?
I believe there are several ways to do this using a single Smart Values Condition...such as:
Here are some references for those functions:
Kind regards,
Bill
Hi @erica_bogosian ,
Currently there is no way to chain multiple Conditions using OR instead of AND.
You can use a single CQL Condition to exclude a list of pages by title:
title not in ("value 1", "value 2")
As an alternative, you can use a simple Page Condition and exclude pages with a specific label (such as 'do-not-archive') and the rule will skip all pages with that label.
Hope this helps! =]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.