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

Error on adding decimal and user cannot navigate to next screen

SA-95338

Summary



Error occurs on adding a decimal value to a field and submitting the form. Hence, user is unable to navigate to the next screen. This occurs sporadically.



This occurs for Currency fields when the 'Display value using read-only format' checkbox is selected.




Error Messages



Value is is not a valid decimal value


Steps to Reproduce

  1. Configure a pxCurrency control.
  2. Configure the 'Display value using read-only formatting' option.
  3. Submit the form.


Root Cause



An issue in the custom application code or rules.
The out-of-the-box flow action Submit buttons are not used. These buttons are hidden by the flow action configuration. The section has the application's Submit button with following actions.
  • Local action
  • Finish assignment
  • Refresh-This section



The 'Local action' has a When condition to ensure that the local action appears conditionally. However, the 'Finish assignment' and 'Refresh-This section' actions do not have this condition.
In this scenario, the 'Finish assignment' and 'Refresh-This section' actions are initiated. The assumption is that these actions are always sequential; but they are not. There are server dependent rendering XHRs whose execution time depends entireely on the time the server takes to process the XHRs. 

Since the 'Refresh-This section' action happens after the 'Finish Assignment', the error occurs. This is because the 'Finish assignment' action removes the current screen from the UI where the next 'Refresh-This section' attempts to refresh the screen.


Resolution



Perform the following local-change: 
  1. Remove the 'Refresh-this-Section' call from the Action list .
  2. Ensure that the 'Finish Assignment' action is the last in the list of actions.

Published June 11, 2020 - Updated December 2, 2021

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