Retrieve the history metrics summary for all of the users of a selected workflow version and group
Retrieves the history metrics summary for all of the users of a selected workflow version and group. The returned items are of type application/vnd.sas.investigation.workflow.historical.metrics.summary+json.
1{2 "links": [3 {4 "method": "GET",5 "rel": "self",6 "href": "/svi-datahub/workflows/processes/history/metrics",7 "uri": "/svi-datahub/workflows/processes/history/metrics",8 "type": "application/vnd.sas.collection"9 }10 ],11 "name": "workflowProcessHistoryMetricUserSummary",12 "accept": "application/vnd.sas.investigation.workflow.historical.metrics.summary",13 "start": 0,14 "count": 1,15 "items": [16 {17 "version": 1,18 "name": "Test User",19 "id": "testUser",20 "meanTimePerTask": 23937.5,21 "medianTimePerTask": 23937.5,22 "timeOnCompletedTasks": 47875,23 "timeOnUncompletedTasks": 0,24 "meanTimePerTaskClaimTimeBasis": 10562,25 "medianTimePerTaskClaimTimeBasis": 10562,26 "timeOnCompletedTasksClaimTimeBasis": 21124,27 "timeOnUncompletedTasksClaimTimeBasis": 028 }29 ],30 "limit": 1,31 "version": 232}
Name | Type | Required | Description |
---|---|---|---|
groupId | string | true | groupId |
workflowId | string | true | The ID of the workflow. |
Name | Type | Required | Description |
---|---|---|---|
containsTaskName | string | false | Filters for all task names that contain this value. |
endAt | integer<int64> | false | Filters based on this end timestamp. |
fields | string | false | The comma-separated list of resource members to return in the collection. |
filter | string | false | Filters the collection using prefix function syntax using selected resource members. |
includeCancelledTasks | boolean | false | Includes tasks whose processes were canceled. Default: false |
includeUnclaimedTasks | boolean | false | Includes those tasks not currently assigned. Default: false |
limit | integer<int32> | false | The number of items that were requested for the collection. Default: 10 |
sortBy | string | false | The sorting preference for selected resource members in the returned collection. Default: id:ascending |
start | integer<int64> | false | The zero-based index of the first item in the collection. Default: 0 |
startAt | integer<int64> | false | Filters based on this start timestamp. |
taskDefinitionId | string | false | Filters on the specific task. |
taskName | string | false | Filters on the task name. |