1. Home
  2. $value

$value

Contents

◷ Reading Time: 2 minutes

In a Decision Table, a $value refers to the cell value on each rule line (i.e., rows on the decision table). When writing expressions either:

  1. On expression of a column
  2. On a term associated with a column

the $value can refer to the value of the cell below the column.

In Decision Tables, the Equality(==) and Assignment(=) operators are a default and implicit operators for condition and action columns. This means you don’t need to add ==$value or =$value to your expressions in Decision Tables. For example, if you set

  • obj.Property in condition column, becomes obj.Property == $value
  • obj.Property in action column, becomes obj.Property = $value

at runtime automatically.

$cell

This is a local function in Decision Tables. Allows referencing the cell with column name

$cell(Column Name)
  • Column Name: name of a condition column
  • $cell function only references explicit values

You can use this function in the condition column as well as in the action column.

  • Example for using the $cell function in condition column : click here 
  • Example for using the $cell function in the action column :

Updated on December 22, 2022

Was this article helpful?