Get Service State Action

Description

Populates an Automated Workflow variable with the current state of the specified service (Stopped, Running, Paused, etc.).

Declaration

<AMGETSERVICESTATUS SERVICENAME="text" RESULTVARIABLE="text [variable name]" />

Example

<AMGETSERVICESTATUS SERVICENAME="Application Layer Gateway Service" RESULTVARIABLE="ServiceStatus" />

General Tab Parameters

Service display name: Specifies the service display name.

Text, Required
MARKUP: SERVICENAME="Workflow Scheduler"

Variable to populate with status text: Specifies the Automated Workflow variable to populate with the status of the service.

Text [variable name], Required
MARKUP: RESULTVARIABLE="VariableName"

See Also

Start Service. Stop Service, Pause Service, Resume Service, Remove Service, List Services Action