wfm.AdminGetWorkerqueue

This job returns information about elements currently in the worker queue.

1. Input Parameters

Name Type Required Description

OrganisationsId

STRING

Yes

ID of the organization.

2. Return Value

(INT): 0 = Job successful, otherwise error code.

3. Output Parameters

Name Type Dependency Description

WorkerqueueItems

BASE64

Information about worker queue elements in XML format.

Structure of WorkerqueueItems
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<WorkerqueueItems>
  <WorkerqueueItem Id="" ActivityName="" ProcessName="" State=""
                   TargetState="" CreationTime="" LockState=""
                   LockTime="" ServerId=""/>
</WorkerqueueItems>
Detailed description of WorkerqueueItem attributes:
Id (STRING) — Instance ID of the activity in the worker queue.
ActivityName (STRING) — Name of the activity.
ProcessName (STRING) — Name of the process to which the activity belongs.
State (INT) — Current status of the activity.
TargetState (INT) — This status should be reached after processing by the worker queue.
CreationTime (INT) — Timestamp (when the element was added to the worker queue).
LockState (INT) — 1 = worker queue element is locked, otherwise 0.
LockTime (INT) — Timestamp (when the worker queue element was locked).
ServerId (INT) — ID of the server that locked the worker queue element.

4. See Also