AnsweredAssumed Answered

Button to stop a script running

Question asked by tonyspark on Jun 15, 2016
Latest reply on Jun 16, 2016 by beverly


My solution have a script that take a very long time to run.


What I need:

I am looking for a way to let the user exit the running script by a dialog box, so I can ask him to confirm that he really wants to halt the script and handle how the script will be aborted.


I currently have a progress bar and I would like to have a button under it that would cancel the script, but we can't click on it while a script is running.


What is the best way to do this ?