wfm.GetHistWorkflowList

This job determines all workflow models in the history management and the number of processes started from the workflow model.

1. Input Parameters

Name Type Required Description

OrganisationId

STRING

Yes

ID of the organization

2. Output Parameters

Name Type Dependency Description

Workflows

BASE64

The requested workflow models in XML format

3. Return Value

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

4. Example

Structure of Workflows:

<Workflows>
  <Workflow Id="18268F5E1F532" HistWorkfowId="04DC0D15A62A4" Name="test"
            ProcessCount="3" Version="70" FamilyId="0774DC0D15A62A4"
            FamilyName="testfam"/>
  <Workflow Id="39418268F5532" HistWorkfowId="0BFB9FF2D225E7" Name="test"
            ProcessCount="1" Version="83" FamilyId="T0774DC0D15A62"
            FamilyName="testfamilie"/>
</Workflows>
Table 1. Fields of <Workflow>
Attribute Type Description

Id

STRING

ID of the workflow model

HistWorkfowId

STRING

Historical ID of the workflow model

Name

STRING

Name of the workflow model

ProcessCount

INT

Indicates how often the workflow model was started

Version

INT

Version number of the workflow model

FamilyId

STRING

GUID of the associated workflow family

FamilyName

STRING

Name of the associated workflow family