Version

    Dictionary in CTL2

    To use a dictionary in your graph, define the dictionary first, see Chapter 37, Dictionary.

    To access the entries from CTL2, use the dot syntax as follows:

    dictionary.<dictionary entry>

    This expression can be used to

    • define the value of the entry:

      dictionary.customer = "John Smith";
    • get the value of the entry:

      myCustomer = dictionary.customer;
    • map the value of the entry to an output field:

      $out.0.myCustomerField = dictionary.customer;
    • serve as the argument of a function:

      myCustomerID = isInteger(dictionary.customer);