Get Service State Action—Setting Properties

 The Get Service State action populates a variable with the state (stopped, running, etc.) of a selected service. The variable must be created in an earlier step using the Create Variable action.

To set Get Service State properties

  1. From the Task Builder Available Actions pane, open the (draftnote: which?) folder and double-click the Get Service State action or drag it into the Steps pane.

  2. In the Service name box, enter the name of the service.

  3. In the Populate variable with the status box, select the variable to populate.

  4. To set the Description tab properties, refer to Description Tab Options.

  5. To set the Error Causes and On Error tab properties, refer to Step Error Handling.

  6. When finished, click OK to save settings and close the properties dialog window.

See Also

About Actions

Adding Task Steps

Get Service State Action