We are using Pega 8.4. If a screen is taking too long time because of the source Report definition taking long time to execute, is there any way to display an alert message on screen, saying that the database query taking too long time to execute. Please suggest
@Sahul normally we would get the default spinning icon while something is processing. Do you want to timeout and display the message? I’m not sure if we can display something in the middle of processing. Normally, i believe UI hangs until processing finishes.
I agree with you. But, for end user if the screen hangs on, he might not b aware what’s going on in back end. So, I had an ask to check for the possibilities of displaying any message if the query takes too long.
It would be difficult from the display an error message on the screen based on what alert is present in the logs. Though the vice-versa process is simple. You can try to add a Java step in an activity and show a browser alert if its feasible.
@Sahul if a certain click or action on UI is expected to trigger a long processing, perhaps we could display an alert before the user action based on previous observations. e.g. “Submitting this form may take 15-20 seconds to complete processing.”