Tasks

Tasks actions

post/cmmn-runtime/tasks/{taskId}

Request

Path parameters

taskIdstring required

Request body

actionstring required

Action to perform: Either complete, claim, delegate or resolve

assigneestring

If action is claim or delegate, you can use this parameter to set the assignee associated

formDefinitionIdstring

Required when completing a task with a form

outcomestring

Optional outcome value when completing a task with a form

Example request

{
  "action": "complete",
  "assignee": "userWhoClaims/userToDelegateTo",
  "formDefinitionId": "12345",
  "outcome": "accepted/rejected",
  "variables": [
    {
      "name": "myVariable",
      "type": "string",
      "valueUrl": "http://...."
    }
  ],
  "transientVariables": [
    {
      "name": "myVariable",
      "type": "string",
      "valueUrl": "http://...."
    }
  ]
}

Response

Indicates the action was executed.

Changes

No recorded changes to this operation across all 1 revision of this API.