Question: Can we make a map/reduce script return v...
# suitescript
s
Question: Can we make a map/reduce script return value to the script that calls it ? Scenerio : I've a suitelet that calls a lib file for some process and that lib file returns back a value to suitelet to write on the screen. Now , while executing the lib file, there is api usage limit exceed error thrown. So , I wanted the lib file part to be made into a map reduce which returns the value back to suitelet (as the lib file did), that the suitelet can write on the screen.. Also you can suggest an alternate workaround for my case.! Kindly advice !
b
no
alternative are variations on waiting for the map/reduce to complete so that you can then get the result
there arent really good options to wait in serverside suitescript, so your best chance is to do the waiting clientside