wfm.GetRunningActivities
This job returns all activities to be processed for a specific user.
1. Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
|
STRING |
Yes |
ID of the organization |
|
STRING |
Yes |
ID of the user |
|
STRING |
Yes |
ID of the client type used |
2. Output Parameters
| Name | Type | Dependency | Description |
|---|---|---|---|
|
BASE64 |
— |
List of data for all running activities of the user in XML format (see note) |
4. Note
<RunningActivities>
<RunningActivity>
<Activity Id="" RActivityId="" Name="" State="" ClosureTime="" OverTime=""
ReminderTime="" CanCancel=""/>
<User Name=""/>
<Process Id="" Name="" WorkflowId="" Subject="" CreationTime="" IconId="" ObjectId=""/>
<Columns>
<Column DisplayName="" Value="" Position=""/>
</Columns>
</RunningActivity>
</RunningActivities>
RunningActivity — structure with the following elements:
-
Activity: describes a running activity-
Id(STRING): ID of the activity in the model -
RActivityId(STRING): instance ID of the activity -
Name(STRING): name of the activity -
State(INT): status of the activity -
ClosureTime(INT): lock period — indicates how long the activity is still locked -
OverTime(INT): flag indicating whether the activity should have been completed (1) -
ReminderTime(INT): reminder period — indicates until when the activity should be completed -
CanCancel(INT): currently not supported — pass0.
-
-
User:-
Name(STRING): name of the user who personalized
-
-
Process: describes the associated process-
Id(STRING): ID of the process -
Name(STRING): name of the process -
WorkflowId(STRING): ID of the workflow -
Subject(STRING): subject of the process -
CreationTime(INT): creation time of the process -
IconId(INT): icon ID of the workflow model -
ObjectId(STRING): ID of the document to be displayed in preview by clients
-
-
Columns: list of elements of typeColumn-
Column: used for displaying workflow variables-
DisplayName(STRING): the variable should be displayed under this name -
Value: value of the variable -
Position(INT): determines the order of the elements
-
-