Corticon.js's General operators are Functions and Literals.

Functions

Corticon.js's Functions operators are as follows:

Name and Syntax Returns Description
Custom operators with return datatype
getBoolean getDate getDateTime getDecimal getInteger getString Corresponding datatype Calls the specified custom function with the custom string parameter. Returns the data specified in the custom function as the requested datatype. See Customized data access operators for more information.
Custom operators with no return
setBoolean setDate setDateTime setDecimal setInteger setString nothing Call the specified function with t he custom parameters. See Customized data access operators for more information.
Now
now DateTime Returns the current system date and time when the rule is executed.
Today
today Date Returns the current system date when the rule is executed.

Literals

Literal Terms can be used in any section of the Rulesheet, except Scope and Rule Statements. Exceptions to this general statement exist. See individual literals for detailed usage restrictions.

Corticon.js's Literals operators are as follows:

Name and Syntax Returns Description
Null
null none The null value corresponds to one of three different scenarios:
  • the absence of an attribute in a Ruletest scenario
  • the absence of data for an attribute in a Ruletest scenario
  • an object that has a value of null
True
true or T Boolean Represents Boolean value true
False
false or F Boolean Represents the Boolean value false
Other
other any When included in a condition’s Values set, other represents any value not explicitly included in the set, including null.
CellValue
cellValue any cellValue is a variable whose value is determined by the rule Column that executes