Script is taking too long to execute.

lock
push_pin
done
Beantwoord
1

Hi,

I have this error: EjScript::RunTimeException: Script is taking too long to execute. Execution time: 122.10, User CPU time: 9.56

But How can i fix that ?

I need the script to do something, it make 100 Results and than come the error..

Thanks for your help

Fabrice

23 jul 2024 | 02:42 p.m.

Alles Antwoorden (1)

Hi Fabrice,

Generally speaking, if a script is taking too long to complete then it's probably because the script is trying to do much more than what the CRMScript engine was designed for.

CRMScript best practices | SuperOffice Docs

There is too little information in the OP to better understand what task(s) the script is written to complete, but unless there is something wrong - like highly unoptimized code, then this is generally an indicator that the intended work would be best written as a custom application that leverages webhooks, etc.

Best regards.

 

25 jul 2024 | 10:50 a.m.

Reply toevoegen