Skip to content

GetCDMFieldValue

aggregating category: cdm-helpers no `||`

Returns the value of another field on the same CDM table.

Loads the value of the named field from the same CDM table as this rule. Establishes a dependency, forcing the referenced field to be calculated first. If multiple GetCDMFieldValue rules across the table create a circular reference, an error is thrown.

Parameters

1field Mandatory — accepts: field

The field on the same CDM table to load the value from, in :-notation.

Input type

Field reference (no value input).

Output type

The output type matches the referenced field's type.

Requires

  • No circular reference.
  • Field must be on the same table as the rule.
  • Only valid in field logic, not on a mapping rule.

Examples

Read the person_id field of the same CDM table

GetCDMFieldValue(:person_id)

See also

GetCDMTableId, GetCDMVisitId