When an exception is thrown, the execution of the Flow will stop, and the entire exception stack trace will be displayed.
To throw an exception (placed anywhere in the JavaScript code):
// bunch of code
if (Utils.isNothing(flowId)) {
throw 'Flow ID not set';
}
Comments
0 comments
Please sign in to leave a comment.