2019.2

Table Of Contents
Defining Object values
l
Preprocessor:
l
In the Step properties pane, under Properties, add or select a field.
l
Specify the Type as Object and set a default value as a semi-colon.
String
Strings contain textual data. Strings do not have any specific meaning, which is to say that their
contents are never interpreted in any way.
Defining String values
l
Preprocessor:
l
In the Step properties pane, under Properties, add or select a field.
l
Specify the Type as String and set a default value as any text between quotes,
followed by a semicolon, e.g. "This is my text";
l
Extraction:
l
In the Data Model, select a field.
l
On the Step properties pane, under Field Definition set the Type to String.
The field value will be extracted and treated as a string.
l
JavaScript Expression: Set the desired value to any string between quotes. Example:
record.fields["countryOfOrigin"] = "Canada";
Building String values
String values can be made up of more than just a series of characters between quotes. Here
are a few tips and tricks to build strings:
l Both single and double quotes can be used to surround strings and they will act in
precisely the same manner. So, "this is a string" and 'this is a string' mean the same thing.
However, it's useful to have both in order to remove the need for escaping characters. For
instance, "I'm fine!" works, but 'I'm fine!' does not since only 'I' is properly interpreted. 'I\'m
fine!' works (escaping the ' with a \).
Page 313