Software AG Products 10.11 | Designing and Implementing Business Process Models | Working with Business Rules in My webMethods | Working with Decision Trees | Modifying a Decision Tree | About Data Type Assignment
 
About Data Type Assignment
The following table lists the data types that can be assigned to a parameter element that was specified for a condition link or assignment result node:
Data type of the parameter element for the condition link or result node is
Literal value must be
Data type of assigned parameter element must be
Data type of action output must be
Constant must be
Boolean
Boolean
Boolean
Boolean
NULL
Boolean list (results only)
n/a
Boolean
Boolean
NULL
Character
Character
Character
Character
NULL
Character list (results only)
n/a
Character
Character
NULL
Date
Date
Date
Date
NULL
Date list (results only)
n/a
Date
Date
NULL
Document (results only)
n/a
Document
Document
NULL
Document list (results only)
n/a
Document list
Document list
NULL
Numeric
(Byte, Double, Float,
Integer, Long,
Short)
Same data type or numeric data type with a smaller value.
Any numeric data type. Numeric data types with a greater value are truncated.
Any numeric data type. Numeric data types with a greater value are truncated.
NULL
Numeric list
(Byte array, Byte list, Double list, Float list,
Integer list, Long list,
Short list) (results only)
n/a
Any numeric list. Numeric data types with a greater value are truncated.
Any numeric list. Numeric data types with a greater value are truncated.
NULL
String
String
String
String
NULL or EMPTY_STRING
String list (results only)
n/a
String list
String list
NULL
String table
(results only)
n/a
String table
String table
NULL
Important:
Integer values are converted to Java doubles before being assigned to parameter elements. The conversion might introduce imprecision due to truncation or rounding. As the conversion to a Java double only handles up to 15 significant digits, it is highly recommended not to use integers with more than 15 digits in conjunction with decimal point parameter elements.