Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Obj-Validate rule wiping out the section field values on Submit

SA-22538

Summary



When submitting a flow action, the edit validate rule fires and catches the error only the first time. Without changing the incorrect values the user can submit again and proceed without triggering the validation rule.


Error Messages



Not applicable.


Steps to Reproduce



1. Create a section and add two date fields. Example: Start date and End date.
2. Create a flow-action corresponding to the above section, and configure obj-validate rule in flow action validate tab. Validation should fail if End date is before the Start date.
3. In run time enter End date less than Start date and click on Submit button. Observe that the validation error fires correctly, and the error message is observed.


    

4. Now again click on Submit button again, and observe that the date value wipes out. 

    

Root Cause



This issue is observed becaue resetDatetimeHidden API empties the date field's value. 

Resolution



Apply HFix-27123.

Published April 30, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us