@m4zuper Thank you, thank you, thank you! It was so simple. It's really hard not knowing BAS very well.
About ending nodejs
-
@tony2n91 said in About ending nodejs:
Hello,
I'm using sync and try in script and would like to make nodejs End with success and end with fail.
Could anyone help me with Ending immidiatly nodejs while running?You want to complete (successfully or unsuccessfully) a node js thread or action?
-
@Fox said in About ending nodejs:
@tony2n91 said in About ending nodejs:
Hello,
I'm using sync and try in script and would like to make nodejs End with success and end with fail.
Could anyone help me with Ending immidiatly nodejs while running?You want to complete (successfully or unsuccessfully) a node js thread or action?
Both if available
-
@tony2n91 said in About ending nodejs:
@Fox said in About ending nodejs:
@tony2n91 said in About ending nodejs:
Hello,
I'm using sync and try in script and would like to make nodejs End with success and end with fail.
Could anyone help me with Ending immidiatly nodejs while running?You want to complete (successfully or unsuccessfully) a node js thread or action?
Both if available
for the node js action to return an error:
throw new Error('error');In order for the nodejs action to complete without errors, the code in it must also work without errors. To complete it successfully by condition, use "break", "return" or "resolve", depending on the code.
To terminate a thread from node js, use the BAS action "Fail" and "Success". You need to create an action, then copy it to the clipboard and paste it in the node js window.
-
@tony2n91 said in About ending nodejs:
I'm using While (for loop), if and else. How can i force to exit Nodejs and give success inside the loop ? I did try to create success action and use it, but not working well.
Things happen.