Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Scheduled scripts set to execute NOW are taking almost 1 minute
From the documentation:
Schedules a long-running script for immediate execution if its current status is ‘Completed’ or ‘Not Scheduled’.
In my tests, a SIMPLE (1 call to nlapiLogExecution()) is taking 55 seconds to change from "in queue" to "complete".
How is that immediate? Its fast, but not immediate. I'm trying to use script scheduling to get around the very long delays that UE scripts have on SuiteTalk operations. In order for this to be a valid solution I need to have my scheduled scripts picked up ASAP.
I know if there are other scripts in the queue this will impact the timing but in my case I don't have any other scripts in the queue.
Steve Klett | Senior Developer
NetValue Technology
0