<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://www.awareim.com/dokuwiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://www.awareim.com/dokuwiki/feed.php">
        <title>Documentation - docs:2000_concepts:0800_data_processing:0100_rule_evaluation</title>
        <description></description>
        <link>http://www.awareim.com/dokuwiki/</link>
        <image rdf:resource="http://www.awareim.com/dokuwiki/_media/logo.png" />
       <dc:date>2026-06-03T07:19:50+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0100_context?rev=1749694144&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0200_aggregate_operations?rev=1749694144&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0300_action_execution?rev=1749694144&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0400_cross_reference_rules?rev=1749694144&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0500_other_points_re_action_executino?rev=1663092912&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0600_evaluation_of_rule_collections?rev=1749694144&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0700_evaluation_unorder_rule_collections?rev=1749694144&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0800_context_rule_execution?rev=1749694144&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0900_evaluation_was_changed_expressions?rev=1749694144&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0900_initialization_rules?rev=1749694144&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/1000_summary_rule_evaluation?rev=1749694144&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://www.awareim.com/dokuwiki/_media/logo.png">
        <title>Documentation</title>
        <link>http://www.awareim.com/dokuwiki/</link>
        <url>http://www.awareim.com/dokuwiki/_media/logo.png</url>
    </image>
    <item rdf:about="http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0100_context?rev=1749694144&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-06-12T02:09:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Context</title>
        <link>http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0100_context?rev=1749694144&amp;do=diff</link>
        <description>Context

When evaluating a rule AwareIM checks if rule conditions are met and if so executes the action specified by the rule.

Let us consider the following rule as an example (taken from an application that manages car insurance policies – the rule itself may or may not be very realistic, but it does not matter for the purposes of this example):</description>
    </item>
    <item rdf:about="http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0200_aggregate_operations?rev=1749694144&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-06-12T02:09:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Aggregate Operations</title>
        <link>http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0200_aggregate_operations?rev=1749694144&amp;do=diff</link>
        <description>Aggregate Operations

In the Context section we have mentioned that there is one exception to the fact that AwareIM looks for instances of the business objects to work with in the Context. This exception applies to aggregate operations. Aggregate operations are those rule expressions that start with keywords</description>
    </item>
    <item rdf:about="http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0300_action_execution?rev=1749694144&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-06-12T02:09:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Action Execution</title>
        <link>http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0300_action_execution?rev=1749694144&amp;do=diff</link>
        <description>Action Execution

Before an action triggered by a rule is executed the system’s data is assumed to be in a stable state. The “data” here means the entire collection of data available– all instances of all business objects stored in the database or in some other storage media known to</description>
    </item>
    <item rdf:about="http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0400_cross_reference_rules?rev=1749694144&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-06-12T02:09:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Cross-reference Rules</title>
        <link>http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0400_cross_reference_rules?rev=1749694144&amp;do=diff</link>
        <description>Cross-reference Rules

Cross-reference rules are rules that refer to a particular instance of a business object through the reference attribute of another object. For example, let us assume that our Policy business object has a reference attribute declared – this reference is to the</description>
    </item>
    <item rdf:about="http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0500_other_points_re_action_executino?rev=1663092912&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-09-13T18:15:12+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Other Points Related to Action Execution</title>
        <link>http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0500_other_points_re_action_executino?rev=1663092912&amp;do=diff</link>
        <description>Other Points Related to Action Execution

There are also a couple of other interesting points worth mentioning when describing execution of actions.

	*  When a reference attribute of some object is modified and this reference attribute has matching attribute on the referred object, the referred object is modified as well and its rules (if any) are evaluated (see</description>
    </item>
    <item rdf:about="http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0600_evaluation_of_rule_collections?rev=1749694144&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-06-12T02:09:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Evaluation of Rule Collections</title>
        <link>http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0600_evaluation_of_rule_collections?rev=1749694144&amp;do=diff</link>
        <description>Evaluation of Rule Collections

We had a look at how AwareIM identifies instances of the business objects to work with and also what happens when actions are executed. Let us now look in more detail at how rules are evaluated. In the Rule Evaluation section we have provided the list of events that trigger rule evaluation. When any of these events occur there is a number of rules that are considered for evaluation – if a process has been started these are the rules that implement the process, if …</description>
    </item>
    <item rdf:about="http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0700_evaluation_unorder_rule_collections?rev=1749694144&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-06-12T02:09:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Evaluation of Unordered Rule Collections</title>
        <link>http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0700_evaluation_unorder_rule_collections?rev=1749694144&amp;do=diff</link>
        <description>Evaluation of Unordered Rule Collections

Evaluation of an un-ordered rule collection in AwareIM is implemented by a rule engine, so the terminology used in this section will probably be familiar to those who used to work with rule-based systems before and knows the theory behind the algorithms employed by rule engines.</description>
    </item>
    <item rdf:about="http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0800_context_rule_execution?rev=1749694144&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-06-12T02:09:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Context of Rule Execution</title>
        <link>http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0800_context_rule_execution?rev=1749694144&amp;do=diff</link>
        <description>Context of Rule Execution

In the Context section we have introduced the concept of Context and explained where AwareIM looks for instances of business objects and notifications while evaluating rules. This section provides more details about the Context; in particular, it explains how and when the Context is formed.</description>
    </item>
    <item rdf:about="http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0900_evaluation_was_changed_expressions?rev=1749694144&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-06-12T02:09:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Evaluation of Rules Containing WAS CHANGED expressions</title>
        <link>http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0900_evaluation_was_changed_expressions?rev=1749694144&amp;do=diff</link>
        <description>Evaluation of Rules Containing WAS CHANGED expressions

Evaluation of rule conditions containing WAS CHANGED expressions (and also expressions that track changes in the list – WAS ADDED TO, WAS REMOVED FROM, WAS CHANGED FROM – see WAS CHANGED Expression) is somewhat different from evaluation of other expressions. Whereas most expressions check the</description>
    </item>
    <item rdf:about="http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0900_initialization_rules?rev=1749694144&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-06-12T02:09:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Initialization Rules</title>
        <link>http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/0900_initialization_rules?rev=1749694144&amp;do=diff</link>
        <description>Initialization Rules

The Rule Evaluation section enumerates all occasions when rules are evaluated in AwareIM. There is one other occasion not mentioned in this section albeit this occasion has a rather secondary nature compared to the ones described before. 

When the user brings up a form to create a new instance of a business object (this may happen as a result of the user selecting a menu item of the “Create Object” type or as a result of the execution of the</description>
    </item>
    <item rdf:about="http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/1000_summary_rule_evaluation?rev=1749694144&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-06-12T02:09:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Summary of Rule Evaluation</title>
        <link>http://www.awareim.com/dokuwiki/docs/2000_concepts/0800_data_processing/0100_rule_evaluation/1000_summary_rule_evaluation?rev=1749694144&amp;do=diff</link>
        <description>Summary of Rule Evaluation

The following section provides a brief summary of what has been described in the previous sections regarding rule evaluation and action execution in AwareIM.

	*  Rules are evaluated when the following happens:
		*  An instance of a business object is created (provided that there are rules attached to this business object)</description>
    </item>
</rdf:RDF>
