cancel
Showing results for 
Search instead for 
Did you mean: 

Adding a tasklistener to a deployed process

davidwaf
Champ in-the-making
Champ in-the-making
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.
4 REPLIES 4

trademak
Star Contributor
Star Contributor
Hi,

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.

Best regards,

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
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.

plehal
Champ in-the-making
Champ in-the-making
And …  what is that API call? Please, advise.

davidwaf
Champ in-the-making
Champ in-the-making
Alright, i get. I just re-deployed and started over with the listeners in this time.