Trying to implement Interceptor before and after execution of each task within the process

Hi,

Application: Spring boot (Event based) with Camunda

I need to collect logs and payload of each task within the process. I tried to follow this approach but I couldn’t achieve (

)

@jgigliotti @criew can you help?

Not with the information you provided. Can you give a sense of what you tried? What exactly couldn’t you achieve? If you need some suggestions on what makes a post easier to answer, take a look at the FAQs.

Have you taken a look at the Spring Eventing Bridge documented in the Spring Boot Integration section?

1 Like

I tried this approach to intercept http-connector tasks within each bpmn process, but I was unable to capture actual payload and request URL. But using this functionality it worked.

@jgigliotti I Implemented above example to intercept http-connector request within a process. It is working well but Process Definition ID and Instance ID are not available using this approach. Is Spring- Eventing bridge is the only option to get that fetch that information.

How to Intercept only requests of type http-connector through spring Eventing bridge functionality.

image