Reply

Script ends with OK, but nothing was done

Techie
Posts: 10
1669     0

Is there a way to make a script end with an Error instead of OK when all of the action filters are missed?

I think this could be done with a variable by setting it to an OK value within the actions, but not certain how to make it Error the script at the end.

Re: Script ends with OK, but

Adviser
Posts: 453
1670     0

Here is one way, set up a Trigger Filter to send a command that will fail on all your devices and will only run if all your filters were missed.

Please let us know if that helped and can you post the script as well.

 

Sif

Follow me on LinkedIn: https://www.linkedin.com/in/sifbaksh
Twitter: https://twitter.com/sifbaksh

https://sifbaksh.com
Showing results for 
Search instead for 
Did you mean: 

Recommended for You