"Handle External Task Failure" rest method not throwing error correctly

When I call the rest POST /external-task/{id}/failure the engine is not forwarding the error to the specified “Error start event”. The process get stuck at the current task with a failed job state. How can I notify the engine about a failure in the external process call?

Hi Andre,

currently, it is not possible to trigger error events from external tasks. See the open feature request.

As a workaround, you can check the result of the task and throw the error event by yourself.

Greetings,
Philipp

Hi Andre,

in the next release (7.5) are error boundary events for external tasks available. The bpmn error will be propagated to the next error handler if no handler exists the activity instance ends. See the documentation for further information.

You can try it out in the next alpha version.

Best regards,

Christopher Zell