Logo
OpenText Developer Cloud public resources API Documentation

Act on a task

POST {{baseUrl}}/tasks/:taskId

Act on a task. Possible actions are complete, claim, delegate, resolve, unclaim.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status





Curl
curl -X POST 'baseUrl/tasks/:taskId' -H 'Content-Type: application/json' -d '{"action":"complete","assignee":"userWhoClaims/userToDelegateTo","comment":{"includeUserIds":false,"message":"SampleMessage","saveProcessInstanceId":true,"type":"string"},"formDefinitionId":"cda90802-4bcc-4134-9815-95b8ed50b516","includeUserIds":false,"outcome":"accepted/rejected","transientVariables":[{"encryption":false,"name":"SampleVariable","scope":"local","type":"string"},{"encryption":false,"name":"SampleVariable","scope":"local","type":"string"}],"variables":[{"encryption":false,"name":"SampleVariable","scope":"local","type":"string"},{"encryption":false,"name":"SampleVariable","scope":"local","type":"string"}]}'

ENDPOINTS