AND another textmode trick... | Community
Skip to main content
Doug_Den_Hoed_AtAppStore
Community Advisor
Community Advisor
September 15, 2023
Question

AND another textmode trick...

  • September 15, 2023
  • 3 replies
  • 1032 views

 

While reading a sidebar in this solved thread with @richard_le_ and @madalyn_destafney, I remembered a trick I picked up a while ago that I decided to lift up in this separate thread.

 

For context, Madalyn wanted to filter Tasks twice on the same field (actualCompletionDate), but as Rich pointed out, Workfront does not (As Designed) allow that, "swallowing" one of the directives upon save.

 

However, in a pattern similar to the more familiar textmode "OR" concept that does allow the same field to be used in two or more separate clauses, Workfront does recognize and correctly execute and "AND" against the same field, which in Madalyn's case would be as follows:

 

 

AND:a:actualCompletionDate=$$TODAYb-2m AND:a:actualCompletionDate_Mod=between AND:a:actualCompletionDate_Range=$$TODAYe-2m AND:b:actualCompletionDate=FIELD:plannedCompletionDate AND:b:actualCompletionDate_Mod=gt

 

 

Save until needed.

 

Regards,

Doug

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

Community Advisor
September 15, 2023

Awesome! Thanks so much for sharing, Doug. That is going straight into the text-mode vault for future reference.

 

 

Madalyn_Destafney
Community Advisor
Community Advisor
September 15, 2023

Thanks, Doug! Used in my report : )

If this helped you, please mark correct to help others : )
Madalyn_Destafney
Community Advisor
Community Advisor
September 19, 2023

Hi Doug, I've seen EXISTS too in text mode like this. When to use EXISTS vs AND?

If this helped you, please mark correct to help others : )
Doug_Den_Hoed_AtAppStore
Community Advisor
Community Advisor
September 19, 2023

 

Hi @madalyn_destafney,

 

As a general rule, I use AND when I can, and EXISTS when I have to.

 

Regards,

Doug