Handling Camunda Error Event with External Tasks

Can we handle Error Event by using External tasks? as third party program used to solve or log errors raised from error event.

Hi Mohamed,

you can invoke an external task when an error occurred, just like any other task. To do so, you have to catch the error event first. Can you please describe your use case.

Note that you can only use the REST API to interact with the process engine since an external task is executed in a different scope.

Greetings,
Philipp

1 Like

Hi Philipp,
Thanks a lot i tried it and works fine, my business need to make subscription model to handling error via third party app, so i’m try to handle errors and logging them by using subscription model, is there any subscription model using pushing strategy not pulling strategy.

Thanks,
Mohamed Madian

Hi Mohamed,

there is no push strategy for external tasks out-of-the-box. However, you can build it by yourself.

I’m still not sure why to you want to use external tasks for log the errors.

Greetings,
Philipp

Hi guys.

Mohamed - are you trying to achieve this? So you can report an error from an external task?

Or did I understand the question wrong?

If yes, this is not yet possible: https://app.camunda.com/jira/browse/CAM-5281

1 Like