NS Expert
06/18/2022, 9:37 AMvar scriptTask = task.create({
taskType: task.TaskType.SCHEDULED_SCRIPT,
scriptId: ...,
deploymentId: ...,
params: {...}
});
var scriptTaskId = scriptTask.submit();
It repeats creating the following errors, because the UE script is called on CSV import which has hundreds of records.
{"type":"error.SuiteScriptError","name":"FAILED_TO_SUBMIT_JOB_REQUEST_1","message":"Failed to submit job request: INPROGRESS.","stack":...}
Are there any efficient ways to avoid this error? Though I use 7 deployments, it still keeps the error.battk
06/18/2022, 10:03 AMbattk
06/18/2022, 10:03 AMbattk
06/18/2022, 10:05 AMbattk
06/18/2022, 10:07 AMbattk
06/18/2022, 10:07 AMbattk
06/18/2022, 10:09 AMbattk
06/18/2022, 10:09 AMbattk
06/18/2022, 10:10 AMbattk
06/18/2022, 10:13 AM