Hi, Quick Help needed. This is very urgent. I want...
# administration
a
Hi, Quick Help needed. This is very urgent. I want to stop this script execution immediately. Is there a way to stop the currently running Map/Reduce script, which is running for the 60k search results?
c
Try going to Setup > Deployments, find your Map/Reduce script deployment, and set the status to "Not Scheduled" or "Testing" to stop it. If it's mid-execution, you might need to wait for the current batch to finish, but it won't queue new ones.
m
Can try editing the script and introducing an intentional error
a
Thank you for the response. Yes, I did both methods, but no use the execution is not stopped.
b
I knew a clever dev once who used a checkbox on a custom record as an emergency M/R stop. If you wanted the script to not perform any functions, uncheck the box and then it returns until the queue is burned down.
1