Rest Connector, Error Boundary and 404

Hi,
I built a new connector based on the REST connector. When I call the configured endpoint and get 404, I want my flow to continue to execute, but instead, it does not continue and fails. I added Error Boundary, but it does not help. How should I configure the connector so the flow continues executing the next task when the response status is 404?

If it fails, then error handling is not properly implemented.

There are few links you can refer:

1.REST connector | Camunda 8 Docs
2.Tutorial: Build a Custom Connector Using the Connector SDK | Camunda
3. https://camunda.com/blog/2022/11/how-to-build-camunda-platform-8-connector/

I tried with a generic REST connector, and the result is the same:

The first task calls an endpoint that returns 404.

I am not sure how to set up the Error Boundary event so that the flow ends successfully.

Please take a look at the thread, you might be missing few variables.

1 Like

Hi @cpbpm, I got it working. I didn’t write the error processing logic correctly.
Thank you for your help

Glad to hear that issue got resolved.