Script variables

Script variables

Script variables are variables that can be declared for a script and can be used within from.Script variables can be arbitrary defined by user.

Script variable types

There are following variable types available for script variables.

Data type Internal data type Description Remarks
String type String String comprises of 0 - 2147483647 characters
  • Defaults to a empty string value.
Integer type int An integer value between -2147483648 and 2147483647
  • Defaults to 0.
  • If none integer value is specified in the [Initial Value] or [Value when test is executed], the variable is initialized with 0 irrespectively.
    Within a Mapper, if you assign a fractional value, only the integer part will be assigned to the variable.
Decimal type BigDecimal Arbitrary-precision signed decimal numbers
  • Defaults to 0.
Date/Time type Date Date, Time
  • Defaults to '1970-01-01T09:00:00.000+0900'
Boolean type boolean 'true' or 'false'
  • Defaults to 'false'
Binary type byte[] Binary data
  • Defaults to null
XML type - Stores a XML type or Table mode type
  • Defaults to null

Input variable / Output variable

Data transfer between scripts, or trigger and script, will be available by setting input variable / output variable for script.
  1. Create input variable / output variable
  2. Usage (script variables other than XML type)
  3. Usage (XML script variable)
    Result data of each component can be passed directly by using XML type script variables as input/output variables.XML variable value can also be used in the script to set Mapper schema.

Specification limitation

Notes