You use variable bindings to retrieve values for the variables
in the script. When variables are bound to business object attributes,
the coding required in the script is simplified.
Relationship notation and path
A notation is the set of characters and symbols used to
define an expression. An expression is a complete, usable binding
definition in the context of scripting. An expression consists of
a combination of business object name, relationship name, attribute
name, and notations. The script uses the path defined by the expression
to retrieve a value for variables that are associated with the launch
point of the script.
Single value retrieval
By using the relationships between business objects, you
define a path for the script to retrieve a single value for a variable.
The script retrieves the value from a business object attribute that
is related to the primary business object.
Multiple value retrieval
By using the relationships between business objects, you
define a path for the script to retrieve multiple values for a variable.
The script retrieves the values from a business object attribute that
is related to the primary business object. You define the array of
values by placing an asterisk after the required attribute.
Array notations as filters
You use array notations to filter a set of data so that
the script can retrieve a particular value or subset of values. You
specify the required value or values by placing square brackets around
the filter.
Example: Array notations in automation scripts
When variables with relationship path bindings are resolved
at run time, the scripting framework constructs and inserts a standard
array object into the script code. The script code references the
required array of values by the variable name you declared in the
launch point configuration.