Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Page Properties
hiddentrue
idPROGRESSDONE

Product Version
Report Note
Assignee

Resources & Remarks

Modification History

NameDateProduct VersionAction
Antje27 JUL 20212021 Autumncreated


...

As of Version

product version 2021 Autumn | component version 

Request MethodGET
Response FormatJSON
Description


Excerpt

Retrieves the task specified by taskId.


Optionally, the boolean query parameter includeProcessVariables can be added to the request URL in order to include process variables in the result. Default is false.

Meaning of HTTP status codes:

HTTP Status CodeDescription
200The task was found and returned.
401The calling user is not authorized.
404The requested task was not found.


Request HeaderContent-Type: application/json
Request Example
https://<host>/bpm-engine/api/tasks/8187
Response Example


Code Block
languageyml
{
   "assigneeid": "kermit187",
   "claimTimename": "2018-04-17T10:17:43.902+0000""1st_task",
   "description": "In this case, you have to do several things as they are:\n1. subtask\n2. subtask",
   "assignee": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
   "owner": aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaa5,
   "createTime": "20132021-0411-17T1001T12:1728:4346.902+0000388Z",
   "descriptionclaimTime": "Task description2021-11-01T13:29:47.389Z",
   "formKeyprocessDefinitionId": "myKeytwosteptest_proc:4:8dc694a2-10b1-11ec-99ef-027ea5eeae02",
   "idprocessInstanceId": 8,"00000000-0000-0000-0000-000000000000",
   "nameparentTaskId": "My task",null,
   "parentTaskIdformKey": "nulltwosteptest_proc:1st_task",
   "processDefinitionIdtaskDefinitionKey": 123"sid-4CAF2A19-B303-46C6-A7C0-2F506F1613D4",
   "processInstanceIddelegationState": 123"pending",
   "suspended": true,
   "variables": [
     {
       "name": "whatabout",
       "type": "string",
       "value": "myVariabletestValue",
       "scope": "global"
     },
     {
       "name": "myScopeinitiator",
       "type": "myScopestring",
       "value": "testaaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaa5",
       "valueUrlscope": "http://....global"
     }
   ]
}