HI guys, is there a way we can run the map instanc...
# suitescript
e
HI guys, is there a way we can run the map instances sequencially from a map/reduce script? would the SUBMIT ALL STAGES AT ONCE box in the deployment help me?
b
Concurrency level 1 should do it
e
Thanks @battk I will do a few tests to log the ids of my records to see if they are processed in that way.
s
sounds like a scheduled script to me
e
Yes, my other alternative would be a scheduled script but the 10,000 governance will not be enough for the amount of records to process
s
I think scheduled script and re-scheduling yourself is a safer bet than hoping the MR processes them in order.
s
Scheduled scripts are designed for sequential processing. MR scripts for parallel processing.
I use a pattern like this for most of my scheduled scripts. You implement function
mainLogic()
which receives a javascript object representation of the search result.
that half dozen lines of code or so handle all the boilerplate and plumbing of making a scheduled script well behaved.
👍 2