Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:2000_concepts:0800_data_processing:0200_rules_transactions [2022/08/31 00:57] – ↷ Links adapted because of a move operation administrator | docs:2000_concepts:0800_data_processing:0200_rules_transactions [2025/06/12 02:09] (current) – Rename to AwareIM aware_support3 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| - | In //**Aware IM**// data processing may occur under the following scenarios: | + | In //**AwareIM**// data processing may occur under the following scenarios: |
| - An external request has been issued to the system, which triggered rule evaluation (see [[docs: | - An external request has been issued to the system, which triggered rule evaluation (see [[docs: | ||
| - | - A notification has been received by //**Aware IM**//, which triggered rule evaluation. | + | - A notification has been received by //**AwareIM**//, which triggered rule evaluation. |
| - A timer event triggered scheduled processes to start executing (see [[docs: | - A timer event triggered scheduled processes to start executing (see [[docs: | ||
| - | The following section describes how //**Aware IM**// handles database transactions when processing data under the above scenarios (transactions are described in the [[docs: | + | The following section describes how //**AwareIM**// handles database transactions when processing data under the above scenarios (transactions are described in the [[docs: |
| With scenarios 1 and 3 data processing occurs within a context of a single transaction. This means that if something goes wrong all changes that have been done by any of the rules between the start of the external request (or when the scheduled process started) and the error are discarded (transaction is rolled back). | With scenarios 1 and 3 data processing occurs within a context of a single transaction. This means that if something goes wrong all changes that have been done by any of the rules between the start of the external request (or when the scheduled process started) and the error are discarded (transaction is rolled back). | ||
| - | What can go wrong? First of all a transaction is rolled back if any of the rules issues the '' | + | What can go wrong? First of all a transaction is rolled back if any of the rules issues the '' |
| With scenario 2 the behaviour of the system is slightly different. The rules attached to a notification event are considered to be independent and are executed within separate database transactions, | With scenario 2 the behaviour of the system is slightly different. The rules attached to a notification event are considered to be independent and are executed within separate database transactions, | ||