Hi,
i am trying to use the Tiddly time tools to have a running daemon to catch Tiddlers meeting a specific condition and take actions against them .
I have managed to put togther with my limited knowledge( and with help with syntax correction from a very recent forum post ) to do this
<$let outcome={{{ [<now YYYY0MM0DD0hh0mm0ss0XXX>compare:date:gt{!!endd}then[yes]else[no]] }}}>
<br><$list filter="[<outcome>match[yes]]">
<$action-setfield $tiddler ="testiddler" $field = "status" $value ="overdue"/>
</$list>
this if put in a Tiddler i call Breach , i can run a daily alarm called Breach, that can go every day check if << now >> is greater than a due date value in in a custom date field , if it is , it creates a new tiddler called test tiddler , and sets the “status” field value to “overdue”
2 problems.
first problem . so i actually first used << currentTiddler >> and not " testiddler" as this is obviously the tiddler i would want to change its status to “overdue” , but it doesnt work … instead it goes and creates a new tiddler called “yes” and sets its status field to overdue , when i changed the tiddler to "test tiddler " , it worked and it went and updated “test tiddler” , so why does << currentTiddler >> does not work in the context of the code above
second , i was actually hoping once i get this sorted , to have the alarm actions go against multiple tiddlers and not just one , so basically the argument would be , if any tiddlers are Tagged with X , AND << now >> is greater that the date value in their “endd” field , then they would automatically have their “status” field changed to “overdue”
is this achievable ?