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:0700_rule_language [2022/09/01 05:40] – administrator | docs:3000_rule_language:0700_rule_language [2025/06/12 02:35] (current) – Rename to AwareIM aware_support3 | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ===== Type conversions ===== | ===== Type conversions ===== | ||
| - | When performing arithmetic calculations with attribute values and numeric constants //**Aware IM**// automatically performs the necessary type conversions if arguments are of different types. The following conversion rules apply: | + | When performing arithmetic calculations with attribute values and numeric constants //**AwareIM**// automatically performs the necessary type conversions if arguments are of different types. The following conversion rules apply: |
| * Addition of two strings causes the strings to be concatenated, | * Addition of two strings causes the strings to be concatenated, | ||
| Line 31: | Line 31: | ||
| * If a value of an attribute is '' | * If a value of an attribute is '' | ||
| - | Only numbers, dates and durations can be compared using other operators (''<'', | + | Only numbers, dates and durations can be compared using other operators (''<'', |
| Line 39: | Line 39: | ||
| It is possible to use references and reference lists inside rule conditions and assign reference and reference lists in actions. For example, the following rule: | It is possible to use references and reference lists inside rule conditions and assign reference and reference lists in actions. For example, the following rule: | ||
| - | <code aim> IF Customer.Policies.Cartype=' | + | <code aim>IF Customer.Policies.Cartype=' |
| - | Customer.Policies.Premium=100</ | + | |
| will check every policy in the list of policies of a customer and if a car type of the policy is wagon will set the premium of such policy to 100. | will check every policy in the list of policies of a customer and if a car type of the policy is wagon will set the premium of such policy to 100. | ||
| Line 46: | Line 45: | ||
| The following rule: | The following rule: | ||
| - | <code aim>IF Policy.CarType=' | + | <code aim>IF Policy.CarType=' |
| - | Customer.CurrentPolicy=Policy </ | + | |