Listening for process end eg finalize

Can someone one point me in the direction of such a topic - “I want to call a method right before process gets closed” (in other words “finalize()”).

For example, I have a file storing solution, which holds some data for a process instance. When that process finishes or gets killed, I want to call the appropriate “clean up”.

Camunda 7. Spring Boot.

Thanks in advance

Hello my bro!

You can’t do it with an “execution listner end” at the last task on your process?

William Robert Alves

1 Like

And a good day to you, sir!

Does sound like a good idea. Thanks. Because my alternative was an @EventListener for a ProcessInstance to lookout for a isEnded == true. This seems easier.

1 Like

That’s great my brother!
\o/

I’m happy to be abble to help you!
Have a nice day! :smile: :rocket: :rocket:

William Robert Alves

1 Like

Same, friend :slight_smile:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.