A rule applies to this note, and only this note. From time to time, Tinderbox scans every note and performs that note’s rule.
Rules are often inherited from prototypes. An inherited rule is just like any other rule, when it runs, this is bound to the note that has inherited a rule.
The most common ways to automatically populate a field of a note created in a given container are:
- Use an OnAdd action to set the value of the newly-created note, or
- Use the OnAdd action to set the Prototype of the new note, and then allow that note to inherit the desired value from the prototype.
Note that OnAdd actions serve as suggestions – the value is set automatically when the note is created in or moved into the container, but you may then change the value. A Rule, on the other hand, is a constraint: if you change the value, the rule will change it back!