Sunday, June 16, 2019

Cancel a 'Processing' Scheduled Script from Rescheduling itself Using nlapiYieldScript

Sample use case:
Wrong logic in a scheduled script causes the said script to run for several hours, and then reschedule itself indefinitely. This could cause data loss and/or defer other important scripts from processing

Solution:
Uncheck the Deployed checkbox in the Script Deployment. This will prevent the nlapiYieldScript call in the script from happening. Note that the nlapiYieldScript call will still be successful, but the script will not continue processing.

No comments:

Post a Comment