Hi!
I have a script that runs upon the press of an approval button. If the script is attempted to be initiated again before it is complete it fails to trigger. Can I have a script that checks if the script is running first and provide a warning message on screen and exit before attempting to run the script?
s
Saul
10/29/2026, 9:22 PM
You can add flags into your script. A simple solution would be setting a
isProcessing
flag to true upon button click. Once the process is done, update the flag to false. You can use this flag to show a warning message if it is true