Issue
Symptoms
The form hangs when trying to update or insert a record.
But unable to find any error in any logs.
Release
All releases
Cause
"gs.sleep();" is used in server-side scripts.
Resolution
Check if gs.sleep() is used in any server-side script. Possible places include but not limited to:
- Script include.
- Business rule script and condition script
- ACL condition script.
- Email notification script and condition script.
- Workflow scripts.
Avoid using gs.sleep() in any script because it does not release session and will cause delays, and add logs to the script whenever gs.sleep() has to be used.
Additional Information
For more performance troubleshoot details, please see KB0516495