wfm.GetProcessList

This job returns a list of processes, where the status can be specified.

1. Input Parameters

Name Type Required Description

Flags

INT

Yes

Combined flag indicating the possible statuses of the processes to query.
1 = CSPROCESS_INIT
2 = CSPROCESS_RUNNING
4 = CSPROCESS_SUSPENDED
8 = CSPROCESS_ACTIVE
16 = CSPROCESS_TERMINATED
32 = CSPROCESS_COMPLETED

2. Output Parameters

Name Type Dependency Description

Processes

BASE64

Information about the requested processes in XML format (see note)

3. Return Value

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

4. Note

Structure of Processes
<Processes>
  <Process>
    <Id>9E813BD6D4054B6ABD9385A804FEA398</Id>
    <Name>test 231</Name>
    <Subject>Test (€42)</Subject>
    <State>2</State>
    <CreatorId>8FDD6BCB06CE467FAE8885E81F078699</CreatorId>
    <CreationTime>1077888972</CreationTime>
  </Process>
</Processes>

Process — structure with the following content:

  • Id (STRING): ID of the process

  • Name (STRING): Name of the process

  • State (INT): Status of the process

  • CreatorId (STRING): ID of the process creator

  • CreationTime (INT): Creation time of the process