Using the Execute service command, you can set the service settings.
|
Property Name |
Description |
Typical setting |
Remarks |
|
Computer |
Name of the computer where the services are
running |
%ComputerName%. |
In Forms & Delegation, this variable
is passed from the project where the services are collected using the
List services script action. |
|
Service name |
Name of the service |
%ServiceName% |
In Forms & Delegation, this is the
name of the service that is selected by the end-user in the form. When
the user selects no service, the variable is empty. |
|
Start service
|
Sets the value for Start service to "Yes"
. If the service has already started, nothing will happen |
%ServiceCommand% |
Configure according to the desired service action.
|
|
Stop service |
Sets the value for Stop service to "Yes"
. If the service has already started, nothing will happen |
%ServiceCommand% |
Configure according to the desired service action.
|
|
Restart service |
Sets the value for Restart service to "Yes"
. If the service is running, it will be stopped first. |
%ServiceCommand% |
Configure according to the desired service
action. |
|
Wait for status completion |
If set, the action will not complete until
the service has the requested state or if the time-out period has expired. |
|
|
|
Time-out (seconds)
|
Time-out specified in seconds. Used in conjunction with "Wait for
status completion" property.
|
|
|