Is there any way to make a post request in a sched...
# suitescript
a
Is there any way to make a post request in a scheduled script asynchronous? I'm dealing with large data sets and the script times out
b
no. nothing in serverside suitescript is asynchronous unless you count N/task
s
a scheduled script does get a 'POST' request anyway
if you mean HTTP POST?
if the script as a whole times out, you can generally solve it by breaking the work into smaller chunks and have the script reschedule itself as needed. Or, consider M/R
t
How do you have a scheduled script "reschedule itself" ?
s
use
N/task
t
ah
s
our scheduled scripts often look very much like the this, which handles automatically rescheduling itself if it runs low on governance(time or units)
t
That's awesome, thanks sharing that. @stalbert