Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:3000_rule_language:0300_rule_language [2022/08/21 12:10] – ↷ Page moved from start:3000_rule_language:0300_rule_language to docs:3000_rule_language:0300_rule_language administrator | docs:3000_rule_language:0300_rule_language [2022/09/13 18:15] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ====== Rule Definition ====== | ====== Rule Definition ====== | ||
| Rule is defined as follows: | Rule is defined as follows: | ||
| - | < | + | < |
| + | IF (RuleCondition) | ||
| ActionList | ActionList | ||
| - | Else | + | ELSE |
| - | ActionList | + | ActionList</ |
| - | </ | + | |
| - | where '' | + | where '' |
| - | < | + | < |
| - | ActionList | + | IF (RuleCondition) |
| - | Else If (RuleCondition) | + | |
| ActionList | ActionList | ||
| - | Else | + | ELSE IF (RuleCondition) THEN |
| ActionList | ActionList | ||
| - | </ | + | ELSE |
| + | ActionList | ||
| Line 25: | Line 25: | ||
| Examples of rules: | Examples of rules: | ||
| - | < | + | < |
| - | If Account.State=' | + | REPORT ERROR ' |
| - | REPORT ERROR ' | + | |
| - | </ | + | |
| - | < | + | < |
| - | CreditAccount.CreditLimit+CreditAccount.Balance-CreditAccount.NonClearedFunds | + | |
| - | </ | + | |
| - | < | + | < |
| - | FIND AccountType WHERE AccountType.Name=' | + | FIND AccountType WHERE AccountType.Name=' |
| - | </ | + | |