Act on a task

POST {{baseUrl}}/tasks/:taskId

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

Request Body

{"action"=>"complete", "assignee"=>"userWhoClaims/userToDelegateTo", "comment"=>{"includeUserIds"=>false, "message"=>"SampleMessage", "saveProcessInstanceId"=>false, "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"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring