Page 1 of 1

Service Status not set

Posted: Tue Jul 16, 2013 6:53 pm
by datroubler
I would like to get the status of a service and if the service is not running he should be started. The output looks like this:
tv.PNG
tv.PNG (9.51 KiB) Viewed 7774 times
My impression is that the variable is not set correctly in the first step.
netset.PNG
netset.PNG (95.08 KiB) Viewed 7774 times

This is the whole script:
Get status of TeamViewer8 service...zip
(716 Bytes) Downloaded 1112 times
I hope I provided enough information.
The Service is installed on the System I choose it from the Dropdown list.

Re: Service Status not set

Posted: Tue Jul 16, 2013 7:18 pm
by Oleg
You should specify only variable name: ServiceStatus without braces (not {ServiceStatus})

You should use braces "{}" when you need to put variable value into the string.
Braces tells to RoboTask that it's necessary to replace this substring with value of variable.