Hi, can someone look at my VB script and let me know why it's not working.

If (("watch.getjobinfo(6)"="AB")OR("watch.getjobinfo(6)"="CD"))then
Watch.SetVariable "LocalFlag","Fixed"

Else

Watch.SetVariable "LocalFlag","Variable"
End If

I get the result "Variable" in either cases which is wrong. My data is CD and it should say "Fixed"


Edited by Sami786 (08/28/20 03:57 PM)
_________________________
Peace