Task

Handle BPMN Error

Reports a business error in the context of a running task by id. The error code must be specified to identify the BPMN error handler. See the documentation for Reporting Bpmn Error in User Tasks.

post/task/{id}/bpmnError

Request

  • Base URL: http://localhost:8080/engine-rest
  • URL: http://localhost:8080/engine-rest/task/{id}/bpmnError
  • Auth: HTTP basic

Path parameters

idstring required

The id of the task a BPMN error is reported for.

Request body

errorCodestring nullable

An error code that indicates the predefined error. It is used to identify the BPMN error handler.

errorMessagestring nullable

An error message that describes the error.

variablesobject nullable

A JSON object containing variable key-value pairs.

Response

Request successful.

Changes

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