I am using service task with error boundary event.I need if the java api failed like 404 the error boundary event must be triggered . Could you please how can i achieve it.
Hi @srijan,
this RPC has to be invoked to throw a BPMN Error from your code: Gateway service | Camunda 8 Docs.
In the Java client, the command starts here: ThrowErrorCommandStep1 - zeebe-client-java 8.4.1 javadoc
Hope this helps, Ingo