Support Article
Client validations do not work in tree navigation-screen flow
SA-4366
Summary
In a tree navigation screen flow, there are more than one screens. These screens have client side validations, which are not working when the navigation is from the tree navigation control link. The validations in runtime work if the "Next" or "Back" buttons are clicked, but not when the links are clicked to traverse between screens.
Error Messages
No error messages.
Steps to Reproduce
1. Create few sections which have property fields. Make these property fields Required (enable client side validation).
2. Create flow actions for subsequent sections.
3. Create a tree-navigation screen flow which has these flow actions.
4. Use the links in the tree-navigation to traverse between screens.
Notice that client side validation is surpassed.
Root Cause
This problem occurs because in pega_ui_doc submit method validation is skipped if pyActivity is "GoToPreviousTask".
Resolution
HFix-10412 resolves the issue.
Published January 31, 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.