Get Service Status
Description
This step checks the status of a service on a remote Windows machine. You provide the machine name and the service name, and the step returns whether the service is running, stopped, or paused. Use this step in workflows that monitor service health, verify services are running before performing actions, or collect service status for reporting.
Input Tab
| No. | Field Name | Description |
|---|---|---|
| 1 | Step Name | Name of the step. This name has to be unique in a single workflow. |
| Connection | ||
| 1 | Host | Provide the Hostname, Server Name, Fully Qualified Domain Name (FQDN), or IP address of the Windows machine. |
| 3 | Username | Specify the username of the Windows account to authenticate. You may also provide the username in the format <Domain name>\username or <Computer name>\username. To connect to a remote machine, provide <Domain name>\username. This field is mandatory. |
| Password | ||
| 3 | Accept Value as variable/static | Leave the checkbox unchecked to accept the password value from a field in the previous steps of the stream using a drop-down list. Enable the checkbox for the Password field to appear as a text box. |
| 4 | Password | Specify the password of the Windows account. The password is encrypted and is not stored in the .psw workflow file. Password is entered using a widget. The widget supports both Text (static value or environment variable) and Combo (drop-down values from previous steps). If the checkbox above is enabled, the Password field appears as a text box. If disabled, it appears as a drop-down list. This field is mandatory. |
| 5 | Service Name | Specify the service name to get status. The field data type is String. |
Output Tab
| No. | Field Name | Description |
|---|---|---|
| 1 | Result | Output field to hold the result of the successful plugin execution. Default label value for this field is “Result”. |