"This Week" Filter for Search Module for Task | Community
Skip to main content
KierstenKollins
New Participant
May 16, 2024
Question

"This Week" Filter for Search Module for Task

  • May 16, 2024
  • 2 replies
  • 540 views

I am working on an automation that is looking at whether a task was completed after the planned completion date and want to search tasks that were completed this week.

 

I was looking the options to set my filter in the search module and did not see an option to set to this week. 

 

 

Is it possible to set to a "this week" filter?

 

Thank you in advance!

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

2 replies

ChrisStephens
New Participant
May 22, 2024

You can use the same variables as in reporting, so $$TODAYbw and $$TODAYew.

lgaertner
New Participant
May 16, 2024

Hello,

 

corresponding to the documentation of the setDay() function, this could be a way:

 

 

setDay (date; number/name of the day in english)

Returns a new date with the day specified in parameters. It can be used to set the day of the week, with Sunday as 1 and Saturday as 7. If the given value is from 1 to 7, the resulting date will be within the current (Sunday-to-Saturday) week. If a number is given outside of the range, it will return the day from the previous or subsequent week(s), accordingly.

 

 

Regards

Lars