Unlock External Task

Unlocks an external task by id. Clears the task’s lock expiration time and worker id.

Method

POST /external-task/{id}/unlock

Parameters

Path Parameters

Name Description
id The id of the external task to unlock.

Result

This method returns no content.

Response Codes

Code Media type Description
204 Request successful.
404 application/json Returned if the task does not exist. This could indicate a wrong task id as well as a cancelled task, e.g., due to a caught BPMN boundary event. See the Introduction for the error response format.

Example

Request

POST /external-task/anId/unlock

Response

Status 204. No content.

目录: