SaveAs of a Decision Tree allows all functions
A Decision Tree is configured with the checkboxes - 'Allow changes to function lists' and 'Allow Selection of Additional Return Actions', checked in the 'Configuration' Tab.
When Save As is performed of the rule (SaveAs the Rule), the new Decision Tree contains all the functions and is not restricted to the configured list.
Steps to Reproduce
- Create a Decision Tree, in the Configure tab, check the 'Allow changes to function lists' and 'Allow Selection of Additional Return Actions' and add some function alias.
- Save As the Decision Tree and try to see the list of functions appearing in the Decision tab for both conditions and return types. Expected Result should be that only the functions mentioned in Configuration section should appear but the actual result is all the functions appear in both the condition and return types.
The list of available functions is not considered in the Save As case.
This corrects itself when the rule is saved, and reopened.
This is scheduled to be fixed in a future Pega release.