I have a custom action and I
want to conditionally exit/abort the script.
Is there a way to terminate a script (should not fail) so it does not continue
after the first custom step?
Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.
Oct 09, 2018 at 07:28 AM
you could add code to your custom action to skip all the other steps which would then terminate the script as a success.
You can find the code to do this here
Best wishes, Hannah
Oct 09, 2018 at 01:37 PM
Thanks, Hannah. I was hoping for a more direct script command to abort/exit but it seems there isn't one.
I guess I'll have to go with this, as you pointed out above.
Check updated libraries and support added in the latest NAM service pack.
JANUARY 15, 3:00 PM GMT / 10:00 AM ET
Answers and Comments
28 People are following this question.
Is there a way to close a browser tab?
Conditional script fails with: Locator is not defined
Need help on Custom Script
Way to extend Token manipulation to desktop Scripts