Here is a sample snippet of how to implement a better try-catch logic (with counter parameter) to be able to control how many times to retry a request. This is useful for scripts with API invoking Network/Remote calls (ex. nlapiRequestURL, nlapiXMLToPDF).
No comments:
Post a Comment