Discussions

Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Don't miss out on our Weekly Quiz! You only have until May 30, 2PM EST to comment your answers and earn rewards! Click here for more details.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Community Poll: What sort of content would you like to see more of?

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 2 ((Apr-Jun 2024) )

This Week's Leaders

This Month's Leaders

All Time Leaders