The rule card
| Part | Shows |
|---|---|
| Name | The rule name, or Rule 1, Rule 2 and so on when it has none. |
| Priority | The rule priority, or 0 when the export doesn't state one. |
| Status | Active, or Inactive when the rule is marked as not active. Inactive cards are shown dimmed. |
| IF | The rule's conditions as one line of text, or Always when the rule has no condition. |
| THEN | The rule's actions, separated by semicolons, or No action found. |
How conditions and actions are written
The viewer turns the condition and action XML into compact text:
| In the XML | Shown as |
|---|---|
compare operator="greater than"… | lhs operator rhs, such as Total > 1000 (= ≠ > < ≥ ≤ for the BRL operator names) |
xmldocumentmember, classmember, databasecolumn | The field alias (fieldalias), else the field or member, with any arguments in parentheses, such as Discount(0.05) |
constant | The value; strings in quotes, such as "East" |
vocabularylink, bindings, selector, schema | Left out: they carry no meaning for the reader |
and, or | Operands joined with AND or OR; nested groups in parentheses |
not | NOT (…) |
equal, notequal | = and ≠ |
greaterthan, lessthan, greaterthanorequal, lessthanorequal | > < ≥ ≤ |
add, subtract, multiply, divide | + − × ÷ |
| Several conditions in a conditions element | Joined with AND |
| Several actions | Joined with semicolons |
| Any other element with children | Its value, name, member, field, class or type attribute, with the children in parentheses like a function call; without such an attribute, just the children |
| A leaf element | Its value, name, member, field, class or type attribute, or its text |
This is a reading aid, not a full BRE decompiler. When a line is hard to follow, open the file in the text editor next to the viewer to see the original XML.