[GET] /history
/api/bpm/tasks/{id}/history
Description | To retrieve all history entries for a specific task whose id is given in the path. If the query parameter activities is set to true, then all history entries for the specified task are returned with information about the users action (tasks in the inboxes section). The default value of the query parameter activities is false. This endpoint returns the following properties: id, action, time, userId, userName, serverName. If the query parameter activities is set to true, then the following properties are returned: id, action, time, userId, userName, reason. The reason property has the following values according to enaio server manual (Job: wfm.GetHistWorkItemRelEntriesByActivity):
For the action property, see [GET] bpm/api/processes/{id} | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Required Systemrole | R_WFADM_START (ID = 20) | ||||||||||||||
Request | GET | ||||||||||||||
Request Query Parameter |
| ||||||||||||||
Response | JSON | ||||||||||||||
Minimum Version | 1.0.0 | ||||||||||||||
Request |
| ||||||||||||||
Result | {
"objects": [{
"id": "8D47A20D79DB488587B51EBF2FFD9BA5",
"time": "2019-11-26T19:57:09+01:00",
"userId": "BE2C9475A0E84700BBD45C7C8B2AECF5",
"userName": "Adhoc",
"reason": "AddedNormal",
"action": "SetTaskPerformer"
},{
"id": "8D47A20D79DB488587B51EBF2FFD9BA5",
"time": "2019-11-26T19:57:09+01:00",
"userId": "727A6EA824B543668A4CF56B3EDD98A9",
"userName": "Adhoc",
"reason": "AddedNormal",
"action": "SetTaskPerformer"
}]
} |