Show pageOld revisionsBacklinksExport to PDFExport Page to HTML/PDFBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. {{tag>Manuals How_To Business_Rule}} [<10>] ====== How to perform an action on multiple business objects ====== [[docs:3000_rule_language|AwareIM Rule Language]] is the language of rules only – it does not include variables or loops as programming languages do. Consequently, it is not possible to iterate over business objects. How can then an action be performed on several business objects? The answer is that any action is automatically performed on all objects that are in the current //context//. The context usually contains objects found by a query, so the action is performed on all found objects. For example, <code aim>FIND Account WHERE Account.Balance < 100 Account.State='CLOSED' </code> The second action that changes the state of the account to ''CLOSED'' will be performed on all objects found by the ''[[a_f:a:find|FIND]]'' action and so all accounts with balances less than 100 will be closed. Last modified: 2025/06/12 03:59 Log In