ExitAction not working when called from external vbs file
In my script I am calling a function written in the .vbs file.
The .vbs file called correctly in the script.
The function in .vbs file looks like:
Function ifExist (objName)
The statement ExitAction is not working as required.
I am excpecting the action in which this function is called should be terminated as there is a statment exitAction incoporated in the called function.
Can someone tell me why the 'ExitAction' statment is not working as required when mentioned in the function written in .vbs file.
I have tried the same stuff for ExitRun and observed the same results.