Complete a user task
POST/user-tasks/:userTaskKey/completion
Completes a user task with the given key.
Request
Path Parameters
The key of the user task to complete.
- application/json
Body
variables objectnullable
The variables to complete the user task with.
Additional properties allowed.
A custom action value that will be accessible from user task events resulting from this endpoint invocation. If not provided, it will default to "complete".
Responses
- 204
- 400
- 404
- 409
The user task was completed successfully.
The user task with the given key cannot be completed. More details are provided in the response body.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
The user task with the given key was not found.
The user task with the given key is in the wrong state currently. More details are provided in the response body.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}