Skip to content

Use the happens filter in recurring tasks #1803

Answered by claremacrae
joaonunatings asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @joaonunatingscode

Adding the explain tells you a lot more about how your query is interpreted.

When I add an explain line to your tasks block...

```tasks
not done
happens today
explain
path includes  asasfad
```

... and then view in Reading mode I get this:

Notice how the happens today explains which one of 3 fields must be set on tasks for them to match your filter.

The recurrence docs I linked to above say that recurring tasks should have one of those three fields. This is the reason why.

Since your query doesn't mentioning recurrence, the 2 possible reasons your task is not found are:

  • it is done
  • it doesn't have a due, scheduled or start date that is exactly today's date.

Again,…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@claremacrae
Comment options

Comment options

You must be logged in to vote
4 replies
@joaonunatings
Comment options

@claremacrae
Comment options

@joaonunatings
Comment options

@claremacrae
Comment options

Answer selected by joaonunatings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants