In RANGE
- Last Updated: August 5, 2020
- 1 minute read
- Corticon
- Documentation
SYNTAX
| Date | <Date1> in
(<earlierDate2>..<laterDate3>)
|
| DateTime | <DateTime1> in (<earlierDateTime2>..<laterDateTime3>)
|
| Decimal | <Decimal1>
in (<smallerDecimal2>..<largerDecimal3>)
|
| Integer | <Integer1>
in (<smallerInteger2>..<largerInteger3>)
|
| String | <String1>
in (<startString2>..<endString3>)
|
| Time | <Time1> in
(<earlierTime2>..<laterTime3>)
|
true if the attribute type is
contained in the range of valid values for the attribute.
- For integer and decimal data types, the range of values are not
in single quotes. For example,
(1..3)). - For date and String data types, the range of values are in
single quotes. For example,
('A'..'C')).
The Operators row of the table in Vocabulary Usage Restriction does not apply. The in operator can be used in Conditions and Filters, but
not in Actions.
The following Rulesheet uses in ranges for three data types OR'ed together in a filter to be tested against request data:
![]()
A sample Ruletest provides examples. Input and Output panels are shown below.
![]()