Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Guest
2019-09-13T08:28:36Z
Hi there,

I have a task calling a VbScript on a remote server.

I am trying to find a way of the VbScript returning an error code back to VC.

I have tried wscript.quit(999) hoping this would return 999 back to VisualCron and the task would be marked as "failed" but this is not the case.

Has anybody had success doing this or something similar? What techniques did you use?
Sponsor
Forum information
Gary_W
2019-09-13T13:42:39Z
Worked fine for me on version 8.3.5 when I added wscript.quit(999) at the end of my email_tester vbs script:

UserPostedImage 

I call it like this with defaults in the "On error" and "Flow" tabs:

UserPostedImage 

Are you sure your code is taking the path you think it is?
Scroll to Top