1.5

Table Of Contents
Note
The Object data type is only available in the DataMapper module. It is created in the Properties
subsection in the Preprocessor step, and can be used throughout the data mapping configuration.
Boolean Data Type
Booleans are a simple True/False data type often used in conditions and comparisons.
Defining Boolean Values
l
Pre-Processor: Specify the "Type" as "Boolean" and set a default value of either true; or
false;
l
Extraction: Specify the "Type" as "Boolean". The field value must betrueorfalse.
l
JavaScript Expression: Set the desired value toeither true; or false;
Example: record.fields["isCanadian"] = true;
Note
The value must be true , all in lowercase. Any variation in case (True, TRUE) will not work.
Boolean Expressions
Boolean values can also be set using an expression of which the result is true or false. This is
done using operators and comparisons.
Example: record.fields["isCanadian"] = (extract("Country") == "CA");
For more information on JavaScript comparison and logical operators, please see
w3schools.com or developer.mozilla.org.
Page 196