How do we create a query to return target dates outside of "now"?
The current query I have is "target end" <now() and status != done
But I want to be able to send a notification outside of the actual due date, and send it 3-5 days before the due date.
Solved! Go to Solution.
thanks, it got me closer given I need to use "target end" this is what ultimately got me there
"target end" > startOfDay(-5) and "target end" <= endOfDay() OR "target end" < -5d and status != done
Awesome! If you wouldn't mind accepting this answer so that others can benefit from it in the future that would be great!
For your query, do you need to have parantheses around the last clause:
"target end" > startOfDay(-5) and "target end" <= endOfDay() OR ("target end" < -5d and status != done)