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

Declare Expression property values not being refreshed on screen

SA-29490

SUMMARY

A value is not getting changed in Declare expression.

Error Messages



Not applicable


Steps to Reproduce



1. Add 4 integer input fields in a section.

2 Add a 5th integer field(TotalBalance) and create a declare expression over it as below:




3. Enter the value as 1 in the first input box and press tab key
4. Perform this operation quickly to enter values in all the four fields
5. The sum that is displayed on the screen will not be accurate.


Root Cause



User configuration and server response time.
 

Resolution



Here’s the explanation for the reported behavior:

The second request is sent before the first request response was received.Generally whenever value changes in the input  field an AJAX request is sent to the server and gets the response from it. It depends upon server how much time it is taking to send the response to the client. It depends upon the reponse time to update the value in the declare expression. The reported behaviour seems to be due to the heavy components present in the section and the time taken for refreshing the screen.

 

Published October 25, 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