wfm.GetActivityPerformers

This job returns all users/roles assigned as participants to the specified activity.

1. Input Parameters

Name Type Required Description

RActivityId

STRING

Yes

Instance ID of the activity

2. Output Parameters

Name Type Dependency Description

ObjectIds

BASE64

List of roles/users in XML format (see note)

OrganisationId

STRING

ID of the organization to which the roles/users belong

3. Return Value

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

4. Note

Structure of ObjectIds
<Objects>
  <Object Id="E95EF24F6C6AE1A40F" Absent="0" Substitute="0" Flag="1"/>
  <Object Id="8FDD6BCB06CE478699" Absent="0" Substitute="0" Flag="1"/>
  <Object Id="A7286EA0463F382057" Absent="0" Substitute="0" Flag="1"/>
</Objects>

Object — Structure with the following content:

  • Id (STRING): ID of the object

  • Absent (INT): Flag indicating whether the person is absent (1) or present (0)

  • Substitute (INT): Flag indicating whether the person sees the activity as substitute (1)

  • Flag (INT):

    • 1 = user is directly assigned to the work item (not via role)

    • 2 = user sees the work item in his inbox

    • 4 = work item is personalized by this user