How to access rule operators
- Last Updated: March 24, 2022
- 2 minute read
- Corticon
- Version 6.3
- Documentation
The Studio tools for accessing operators provide icons with decorations, and tooltips.
Icons
Rule Operators are assigned icons which provide the user with information about their usage. The following table describes these icons:
| Icon | Where Found | Purpose | Examples |
|---|---|---|---|
| General, Literals category | indicates special values or constants | null, true, other | |
| General, Functions category | indicates system values that are automatically retrieved upon rule execution. | now, today | |
| Operators, Boolean category | this special “unary” operator icon is used only with not | not | |
| Operators, all categories | indicates the operator uses a period “.” to attach to its operand. Most operators with this icon typically fell into the previous “function” category. | day, round, contains | |
| Operators, all categories | indicates the operator is used between two operands. Most operators with this icon typically fell into the previous “comparison” category. | equals, multiply | |
| Operators, Collection & Sequence categories | indicates the operator is used with collections or sequences. Also indicates an alias must be used to represent the collection operated on. | sum, size | |
| Extended Operators | indicates the operator has been added to the Vocabulary using the extension framework described in Corticon Extensions Guide. | - |
Tool tips
In Corticon Studio, moving the
mouse over a Vocabulary operator and pausing, or hovering for a moment, causes a
dynamic tool tip text box to display. This tool tip contains information about
operator syntax, return data type, and description, all of which are supplied in
more detail in this set of topics. For questions not answered by the tool tip, refer
to the detailed operator descriptions in this publication. The following figure
shows a typical tool tip for the date operator .monthsBetween: