This version is out of date, covering development from v4.6.0 to v4.7.1. It is maintained here only for inbound reference links from elsewhere.
Jump to the current version of aTbRef.
|A Tinderbox Reference File : Actions & Rules : Compound Actions||aTbRef Site Map|
Compound actions are just like simple actions but each action is separated by a semicolon:
Sometimes, this leads to complications. Suppose, for example, you want an action to set the OnAdd action. (Perhaps you have an agent that's looking for containers of UrgentTasks, and wants to set the OnAdd action for those containers). The simplest way of writing this is:
... which will do two things: set the OnAdd action to "Color=Red" and set the Priority to high.
If you want the OnAdd action to be set to the entire expression, enclose it in quotes:
This quoted style is also required if setting multiple KeyAttribute values.
|Up: Actions & Rules|
|Previous: Operators||Next: Conditional Actions (if clauses)|
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]