AnsweredAssumed Answered

Terminating EMPro Script

Question asked by BarrettP Employee on Dec 19, 2016
Latest reply on Sep 26, 2017 by WDING

I am trying to create a script that will, at the start of the script, ask the user if they want to continue, based on certain conditions. Is there a simple way to stop running the script, if the user answers no? I have found references to sys.exit(), but this kills the entire EMPro GUI, and rather than that, I'd just like to stop the rest of the script from running.

I can think of a few ways to do this, but I have to think there's an easy way to do it innately.

Outcomes