Business Rules 10.7 | webMethods Business Rules Web Help | webMethods Rules Development Help | Working with Decision Tables | Modifying a Decision Table | 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 or assignment result:
Data type of the parameter element for the condition or result is
Literal value must be
Data type of assigned parameter element must be
Data type of action output must be
Constant must be
Data type of expression output must be
Boolean
Boolean
Boolean
Boolean
NULL
Boolean
Boolean list (results only)
n/a
Boolean list
Boolean list
NULL
Boolean list
Byte
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
not supported
Byte array (results only)
n/a
Byte array
Byte array
NULL
not supported
Byte list (results only)
n/a
Byte list, Character list
Byte list, Character list
NULL
not supported
Character
Character
Character
Character
NULL
not supported
Character list (results only)
n/a
Character list, Byte list
Character list, Byte list
NULL
not supported
Date
Date
Date
Date
NULL
Date
Date list (results only)
n/a
Date list
Date list
NULL
Date list
Document (results only)
n/a
Document
Document
NULL
Document
Document list (results only)
n/a
Document list
Document list
NULL
Document list
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
Any numeric data type. Numeric data types with a greater value are truncated.
Numeric 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
Any numeric list. Numeric data types with a greater value are truncated.
Document list (results only)
n/a
Document list
Document list
NULL
Document list
String
String
String
String
NULL or EMPTY_ STRING
String
String list (results only)
n/a
String list
String list
NULL
String list
String table
(results only)
n/a
String table
String table
NULL
String table
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.