i need to listen for the end of a process-instance. It there anything like an execution-listener? I have to do some cleanup/garbage collection if an process-instance ended.
At the moment i am thinking of an solution polling HistoryService. But polling is not very nice.