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”.
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.