Scheduling Map/Reduce Script Submissions in NetSuite 2026.1
In NetSuite 2026.1, you can now schedule map/reduce script deployments for one-time or recurring submissions, enhancing task automation.
You can schedule map/reduce script deployments for processing in NetSuite 2026.1. This capability allows for one-time submissions or repeated executions daily, weekly, monthly, or even yearly. Scheduling these scripts efficiently can enhance task automation and overall system performance.
How to Schedule Map/Reduce Script Submissions
To schedule a submission, set the Status field to Scheduled. Additionally, you must configure one or more upcoming times on the record's Schedule subtab. You can set deployments every 15 minutes; for instance, you might schedule a script to execute at 2:00 pm, 2:15 pm, 2:30 pm, etc.
Understanding Execution Timing
It's crucial to understand that the times set on the Schedule subtab do not guarantee immediate execution. Delays might occur before a script runs, especially if other scripts are already queued. Thus, even with ideal scheduling, expect potential variations in run times.
Important Considerations
- Deployed Box: Ensure that the Deployed box is checked; a script won't run if this box is unchecked, regardless of its status. To stop executions, simply uncheck this box.
- Session Time Zone: The times displayed on the Schedule subtab reflect the session time zone of the logged-in user, which may differ from the company’s time zone.
Step-by-Step Scheduling Process
To schedule a one-time or recurring map/reduce script submission, follow these steps:
- Create your map/reduce script entry point by uploading a JavaScript file and creating a script record from it.
- Open the desired script record in view mode and click the Deploy Script button.
- Check the Deployed box if it isn’t already marked.
- Set the Status field to Scheduled.
- Complete the other relevant fields (for detailed definitions, see the Map/Reduce Script Deployment Record documentation).
- On the Schedule Subtab, configure your deployment options. Here’s an example for an hourly submission:
- Deployed = checked
- Daily Event = [enabled]
- Repeat every 1 day
- Start Date = [today’s date]
- Start Time = 12:00 am
- Repeat = every hour
- Status = Scheduled
- Log Level = Error
- Click Save.
Handling Multiple Submissions
If you wish to submit a map/reduce script multiple times in quick succession, keep in mind that the system won’t allow submissions if a previous instance is still processing. In such cases, create multiple deployments for the same script to manage this.
Who This Affects
- Developers: Those creating and maintaining map/reduce scripts.
- Administrators: Users managing script scheduling and deployment.
Key Takeaways
- Streamlined scheduling options for map/reduce scripts are available in NetSuite 2026.1.
- Submissions can be configured for one-time or recurring execution with user-defined timings.
- Execution timing may experience delays based on system load and queued scripts.
Source: This article is based on Oracle's official NetSuite documentation.
Frequently Asked Questions (4)
What configurations are necessary to schedule a map/reduce script in NetSuite 2026.1?
How does the session time zone affect script scheduling in NetSuite 2026.1?
What issue might arise if you try to submit multiple map/reduce scripts in quick succession?
Does setting a schedule guarantee immediate execution of map/reduce scripts in NetSuite 2026.1?
Weekly Update History (1)
Added information to the following topics to clarify which user and role a script runs as when it is triggered: Scheduling a Map/Reduce Script Submission Submitting an On-Demand Map/Reduce Script Deployment from the UI Submitting an On-Demand Map/Reduce Script Deployment from a Script Scheduling a One Time or Recurring Scheduled Script Submission Submitting an On-Demand Scheduled Script Instance from the UI Submitting an On-Demand Scheduled Script Instance from Another Script
View Oracle DocsWas this article helpful?
More in SuiteScript
- N/https Module: Binary File Support in NetSuite 2025.2
NetSuite 2026.1 adds binary file support to N/https for streamlined file handling.
- API Governance Units Calculation in NetSuite 2026.1
NetSuite 2026.1 introduces examples illustrating API governance unit calculations for both user event and scheduled scripts.
- Attach and Detach Operations in NetSuite 2026.1
Attach and detach operations for record relationships in NetSuite enhance data management and connectivity.
- Create-Form Operation in NetSuite 2026.1 REST Web Services
Create-form operation in NetSuite 2026.1 APIs streamlines record creation and enhances efficiency.
Also from NetSuite 2026.1
- Custom Labels for Additional Item Prices in NetSuite 2026.1
Custom labels enhance transaction summaries in NetSuite, improving clarity for item prices.
- Applied Trans Date and Period Enhancements in NetSuite 20...
Latest updates in NetSuite 2024.1 enhance Accounting SuiteApps with transaction line distribution features.
- Data Not Copied from Production to Sandbox in NetSuite 2026.1
In NetSuite 2026.1, key data like domains and customer roles are not copied to sandbox accounts during refreshes, impacting setup.
- Available Items Only Feature in NetSuite 2026.1
Available items only filtering boosts sales efficiency in NetSuite 2026.1 with Intelligent Item Recommendations.
Advertising
Reach SuiteScript Professionals
Put your product in front of NetSuite experts who work with SuiteScript every day.
Sponsor This Category