The context is a working area containing relevant business objects and notifications that Aware IM maintains in the operation mode for the purpose of rule evaluation and displaying of information. The initial content of the context depends on the configuration element. For example, for rules attached to a business object the context contains a single instance of the object when the rules are evaluated. For processes the initial context is determined by the process input. More objects can be added to the context following execution of actions that create new business objects or retrieve them from the storage.
Note that rules do not distinguish between different instances of objects of the same type. If there are multiple instances in the context the rule action will be executed on each of the instances. For example, consider the following process:
FIND Loan WHERE Loan.DueDate < CURRENT_DATE Loan.State = 'Late'
The first rule will find all overdue loans and place them in the context. The second rule will change the state of each loan in the context.