Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Script Execution Time Limits
According to this page:
NetSuite Applications Suite - Script Execution Time Limits (oracle.com)
A scheduled script should be able to run for 3600 seconds = 1 hour
I have a complicated search that I am unable to run in a Suitelet because it kept timing out (Suitelets are listed at 300 seconds = 5 minutes).
However, my Scheduled Script is also timing out. Looking at the error in detail, it is:
{"type":"error.SuiteScriptError","name":"ABORT_SEARCH_EXCEEDED_MAX_TIME","message":"This search has timed out. You can choose to schedule it to run in the background and have the results emailed to you when complete. On the saved search form, click the \"Email\" tab, check \"Send According to Schedule\", choose an email address on the \"Specific Recipients\" subtab and a recurrence pattern on the \"Schedule\" subtab.","stack":["createError(N/error)","execute(/SuiteScripts/ManagementAccountsKPI22Email.js:4325)"],"cause":{"type":"internal error","code":"ABORT_SEARCH_EXCEEDED_MAX_TIME","details":"This search has timed out. You can choose to schedule it to run in the background and have the results emailed to you when complete. On the saved search form, click the \"Email\" tab, check \"Send According to Schedule\", choose an email address on