Things I have tried
Task in daily journal
- [ ] [[Link to Person’s note]] text here about the task due:: 2022-10-23
TABLE WITHOUT ID
Tasks.text AS Task,
Tasks.outlinks AS “Outlinks”,
this.file.link AS “Link”
FROM “”
FLATTEN file.tasks AS Tasks
WHERE Tasks.status = " "
WHERE Tasks.outlinks = this.file.link (<- including this line displays zero results)
SORT Tasks.due ASC
Output → No results
What I’m trying to do
Hi,
I have been trying to create a table of tasks created in all files that contains a specific outlink, by comparing that outlink in the task to the note’s current file link where the table is created.
If I leave out the line WHERE i compare oulink to this.file.link, then dataview code listed returns all tasks including tasks without links, and the outlinks match the current file.link.
However, if I add the line, I get no results. I want to compare them so that if I include a person’s note file link in a task, I only want those tasks to appear on the note and not all tasks.
I would appreciate any help with this issue I am having. Thanks.
Edit: included s in code for Tasks.outlinks