on 04-05-2024 8:52 AM
Hi all,
I'm launching a planning sequence in SAC which throws an error if some conditions are met. The error is caught in SAC but the code after keeps running, even if the planning sequence raised the error. I need the code to stop, but do not know the instruction to use.
I need something like a try/catch statement, or a "On Error go to", to stop th code execution in SAC
Thanks
Dear @ERivetti,
I'm using the following code to stop the execution of my function:
var DataActionResponse = DataAction.execute();
if (DataActionResponse.status !== DataActionExecutionResponseStatus.Success){
break;
}
I hope this helps
Best regards
Susanne
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.