Open utterances-bot opened 1 year ago
This is cool.
Another option is to wrap the scriptable task object into an IIFE and use the return statement.
; (function () {
System.log("I'm special");
return;
System.log("Don't forget about me!");
})();
You solution is nice too: one can copy and paste an action code in or out to a scriptable task, without swapping return with break...
Aria Automation Orchestrator Tips: JavaScript GOTO | CMA
How to exit or jump in JavaScript code within a scriptable task
https://kuklis.github.io/cma/post/vro-javascript-goto/