Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ref:glossary:context [2026/08/13 00:43] – removed - external edit (Unknown date) 127.0.0.1ref:glossary:context [2026/08/13 00:43] (current) – ↷ Links adapted because of a move operation localdev
Line 1: Line 1:
 +{{tag>Index Glossary Context Instance Type Query Business_Object Notification Process}}
 +====== Context ======
 +
 +The context is a working area containing relevant [[ref:glossary:business_object|business objects]] and [[ref:glossary:notification|notifications]] that [[ref:glossary:aware_im|Aware IM]] maintains in the [[ref:glossary:operation_mode|operation mode]] for the purpose of [[ref:glossary:rule_evaluation|rule evaluation]] and displaying of information. The initial content of the context depends on the configuration element. For example, for [[ref:glossary:rule|rules]] attached to a [[ref:glossary:business_object|business object]] the context contains a single [[ref:glossary:object_type_and_object_instance|instance]] of the object when the rules are evaluated. For [[ref:glossary:process|processes]] the initial context is determined by the [[ref:glossary:process_input|process input]]. More objects can be added to the context following execution of [[ref:glossary:action|actions]] that create new business objects or [[ref:glossary:query|retrieve]] them from the [[ref:glossary:object_storage|storage]].
 +
 +Note that rules do not distinguish between different [[ref:glossary:object_type_and_object_instance|instances]] of objects of the same [[ref:glossary:object_type_and_object_instance|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:
 +
 +<code aim>FIND Loan WHERE Loan.DueDate < CURRENT_DATE
 +Loan.State = 'Late' </code>
 +
 +
 +
 +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.
 +
 +