Nour
04/22/2026, 7:54 AMCeligo AI
04/22/2026, 7:54 AMAI generated answer (using internal Slack threads):The error
FAILED_TO_SUBMIT_JOB_REQUEST_1 with the message Failed to submit job request: INPROGRESS typically occurs when you're trying to submit a scheduled script task that is already in progress or in the queue. This error is often encountered when a User Event (UE) script is triggered on multiple records, such as during a CSV import or when a field is submitted on multiple records, causing multiple instances of the same script to be submitted concurrently.
There are several ways to handle this issue:
1. Create more deployments: You can create more deployments of the script and not specify the deployment id when creating the task, allowing NetSuite to choose an unused deployment. However, this approach is not entirely thread-safe and you may still encounter the INPROGRESS error.
2. Use a try-catch loop: You can create tasks in a try-catch loop to handle the error. This is a simpler solution but may not be the most efficient.
3. Create your own deployment programmatically: You can programmatically create a new deployment and use that instead.
4. Implement a queue: A more advanced approach is to create a queue and have your script process multiple records at a time instead of one record per task. This approach requires fewer deployments and can handle larger volumes of records.
5. Catch the error: If you can't modify the User Event script, you can try to catch the FAILED_TO_SUBMIT_JOB_REQUEST_1 error in your scheduled script. However, this will not prevent the error from being generated in the User Event script.
Remember to always test your solutions thoroughly to ensure they work as expected.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
04/22/2026, 7:54 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.869995236
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.869690061
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.868164182
Celigo AI
04/22/2026, 7:54 AM