Dear all, Is there a way to programmatically add a TaskListener to an already deployed process ? I have a process already deployed, i realize i had forgotten to attach listen to it. Thanks.
The issue is that you already have running instances right? If you deploy a new version of the process definition with the task listener then all new process instances will be started with that definition. For already running process instances I think it's not possible to add it.
There is an undocumented api call that migrates a running process to a new version, but this is ONLY safe if few things change. Just adding a tasklistener would be one of the safe changes.