function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
RadDude89RadDude89 

Creating records gives users request timed out error

Hi,

We have created an apex class and 2 triggers which execute once a registration record is created/updated in order to update the record based on certain criteria.
From this we have noticed that in the mornings the registration process can be quite slow for some users and in some cases they will get the request timed out error message.
When a system admin tries it, sometimes its slow but most of the time we can create the registration fairly quickly.

Is there anything that I should check to maybe increase the request time of the users/triggers? I've never got an error like this and we never had the error in any of our sandboxes - it just appears to be production.
Does anyone know how to resolve this/had a similiar problem?

Thanks.

Best Answer chosen by RadDude89
Lokesh KumarLokesh Kumar
yes, But before assuming anything enable your debug logs perform the operation and check the time taken by that trriger and best you can ask salesforce support for more knowledge on this.

Happy to help you.

you can mark it solved now.

All Answers

Lokesh KumarLokesh Kumar
HI Rad,

It Depends on your logic written in the trigger and some time salesforce is slow hence we get this kind of window it's not an error for more knowledge for your case you can raise case with salesforce asking root cause for thsi during the time period they will provide full analysis.

Thanks !
RadDude89RadDude89

The trigger we applied is fairly large and it involves alot of logic so this may be the case.

Thanks for the reply Lokesh

Lokesh KumarLokesh Kumar
yes, But before assuming anything enable your debug logs perform the operation and check the time taken by that trriger and best you can ask salesforce support for more knowledge on this.

Happy to help you.

you can mark it solved now.
This was selected as the best answer