Powered by Zoomin Software. For more details please contactZoomin

Rule Language

Equals when used as an assignment

  • Last Updated: October 26, 2026
  • 2 minute read
    • Corticon.js
    • Version 2.4
    • Documentation

SYNTAX

Boolean

<Boolean1> = <Expression1>

DateTime*

<DateTime1> = <DateTime2>

Number

<Number1> = <Number2>

String

<String1> = <String2>

Boolean

Assigns the truth value of <Expression1> to <Boolean1>.

DateTime*

Assigns the value of <DateTime2> to <DateTime1>.

Number

Assigns the value of <Number2> to <Number1>. Automatic casting (the process of changing a value's data type) will occur when assigning an Integer data type to a Decimal data type. To assign a Decimal value to an Integer value, use the .toInteger operator.

String

Assigns the value of <String2> to <String1>.

* includes DateTime and Date data types.

USAGE RESTRICTIONS

The Operators row of the table in Vocabulary usage restrictions does not apply. Special exceptions: equals used as an assignment may only be used in Action Rows (section 5 in Sections of Rulesheet that correlate with usage restrictions).

The following Rulesheet uses equals twice: in an Action row to assign a value to decimal1, and in an Action row to assign a value to string1 based on the value of boolean1.

A sample Ruletest provides two examples of boolean1. Input and Output panels are shown below:

Alert