Can I return [ ] from getInputData (map/reduce) if...
# suitescript
c
Can I return [] from getInputData (map/reduce) if there's nothing more to do and we don't need to progress to map? I don't want the script execution to show as failed.
n
Yes, you can return empty array. I do it when trying to test the getInputDate stage only.
👍 1