RE: Can NetSuite eliminate the Schedule script? though we have map/reduce.

This is my curious question?

Can NetSuite eliminate the schedule script because there have Map/reduce script with better performance. means is there any specific need of schedule script now that’s why NetSuite still have keep it.

Ajay_K_Mandloi Rookie Asked on October 28, 2022 in SuiteScript.
Add Comment
2 Answers

GeorgeHarrington Thanks to answer or reply.

you mean backward compatibility is the only strongĀ  reason to keep it otherwise we can achieved everything with map/reduce that we can do via Schedule script.

Rookie Answered on November 1, 2022.


on November 1, 2022.

I’m not sure I’d say it’s the *only* strong reason. Both script types can be triggered on a regular schedule or on-demand via the `N/task` module. The Map/Reduce is specifically designed with large datasets and parallelization in mind. If all you need to do is perform a scheduled task on a small data set, the Map/Reduce is wildly overkill. The Scheduled Script will likely accomplish the task with less code and less time in the processor queue.

on November 4, 2022.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.