RE: How to handle a script to update 2 lack records with out hitting governance limits?

Recently we had  a requirement to update more than 2 Lack records, we tried schedule script, its hitting governor limit, we moved to map reduce, again there also hitting governance… would like to know is there a way to handle script execution smoothly without hitting governance limits?

super Rookie Asked on June 17, 2020 in SuiteScript.
Add Comment
2 Answers

You should be gathering / formatting all your data in the getInputData and passing forward one record at a time to Map.

If you are able to do this, governance will likely no longer be an issue unless you’re hitting the time based limit.

If you are able to share your code I’d be happy to have a look if it’d help. (you can always DM me in slack)

 

Rookie Answered on June 19, 2020.

Thank you 🙂

on June 22, 2020.
Add Comment

Your Answer

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