Getting Back into Tinderbox – Questions About Tasks in v11

Hi everyone, I’ve just upgraded to Tinderbox 11 and I’m getting back into using it. I’m working on setting up agents to manage my tasks and had a couple of questions.

1. Tasks due today
I created this agent, and it seems to work fine:

$DueDate == date(“today”)
$Checked == false

2. Overdue tasks
For overdue tasks, I tried this, but it doesn’t seem to work:
$DueDate != “”
$DueDate > date(“today”)

Do you see any mistakes in this query?

3. Next step: recurring tasks
My next project is to set up a system for recurring meetings and tasks. If anyone has tips, examples, or guides on how to handle recurring items in Tinderbox, I’d really appreciate it!

Thanks!

For one, these look like curly quotes, try using straight quotes. Also, there is no blank date, an empty date would be $DueDate!=“never”;

What do you mean? Waht do you want Tinderderbox to do? Automatically generate notes? It is not clear to me what outcome you want.

Hey Michael, thanks for getting back to me. For recurring tasks, what I’m aiming to build is an agent that lists everything due today. For example, if I have a task like “take out the trash” every Monday, or “recycling” every two weeks, once I mark it as done ($Checked=true), the system should automatically reschedule it for the next occurrence.

Ok…but, what exactly do you want to see? Do you want a new note generated for the next occurrence and move the current note to an archive, or do you want to reset the current note’s date to next week and put in a log that the trash was taken out on “this date”? Anything can be done; it will all come down to your immediate and long-term intentions, especially around reporting and note management. For example, if you don’t care about adding comments to a particular trash day, then maybe the logging approach is better, as this would reduce the quantity of notes.

I don’t need to add any comments, just want to use it as a reminder. I am creating a dashboard the just lets me know whats due today and what is late.

Thanks for helping!

Gotcha, then I would write a $Rule or $Edit with something like this:

if($Checked==true){ $DueDate+="7 days"; $Checked=false: };
You’ll see the $DueDate today, once you check the box that you’ve done something, it will push the date back a week and set the $Checked to false.

1 Like

Thank you!! it worked perfect.

1 Like

BTW, if you did want to log your activities, you could do this.

Create a note called Log. Each time you process the note, the name of the activity with a time stamp will be added to the log.

if($Checked==true){    
   $Text("Log")+=$Name+"_"+$DueDate.format("dMy t")+"\n";
   $DueDate+="7 days";    
   $Checked=false: 
};

Wow, thats awesome. The only issue I am have now is overdue tasks. I have the following in my Overdue tasks agent:
$DueDate < date(“today”) & $DueDate != date(“today”) & $DueDate!=“never”
This displays tasks that are due today and other notes that dont have a DueDate attribute.

Well it looks like it worked, just took a little time for the agent to update.

I actually think you should use or, i.e., |, and not and, ¶. You want to find the notes that meet any of the conditions, not all of them.

That makes sense, I will update my agent!