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.
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!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Problem with searching for all not-scheduled deployments for a script.
I am trying to find all deployments for a script that aren't scheduled and then use one of them to run the script immediately. In SS1.0 it seems like you could call nlapiScheduleScript and it would automatically pick an available deployment. If there were none available, nlpapiScheduleScript returned the status of the script, and if it wasn't QUEUED then you could create a new deployment or do whatever is needed. In SS2.0 it seems like you have to try submitting the task and then catch the error for when no deployments are available. To me, that seems hackish and not
Tagged:
0