Support Article
Missing data types for parameters in a Decision Tree
SA-20388
Summary
The data type has only three values, String, Boolean, and Integer, under Parameters tab when a decision tree is created. However, according to the documentation, there are more than three data types.
Error Messages
Not Applicable
Steps to Reproduce
1. Create a decission tree rule.
2. Add a prameter to the decission tree rule on the Parameters tab.
3. Try to set the data type of the parameter to DateTime.
Root Cause
Refer to the product documentation:
https://pdn.pega.com/sites/default/files/help_v719/procomhelpmain.htm#rule-/rule-declare-/rule-declare-decisiontree/parameters.htm
Resolution
It is a documentation bug. It is an expected behavior to have only three data types from code point of view in a decision tree.
Published March 2, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.