cancel
Showing results for 
Search instead for 
Did you mean: 

How to get notified when task is being cancelled?

mariusz_cwikla
Champ in-the-making
Champ in-the-making
As in topic: how to get notified when a task is being cancelled?  I have a process that is composed of a user task and a timer boundary event attached to this user task (cancelActivity="true"). In such case when timer is fired then current task is cancelled. I need something like a TaskListener on a task with event type "cancelled".
3 REPLIES 3

trademak
Star Contributor
Star Contributor
Hi,

You can add that logic to the timer boundary event or not? Because you know the task is cancelled then.

Best regards,

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
But afaik, you do not have a handle to the task, so you cannot send an email to the assignee

mariusz_cwikla
Champ in-the-making
Champ in-the-making
Hi Tijs,
no, I can't add logic to timer event, Eclipse Designer does supports listeners for timer events. I didn't found such information in user guide either (docs describe only time event definition - timeDate/timeDuration/timeCycle).

Ronald, yes, I want to get a handle to a task attached to a timer event that is being fired so I can notify user that his task got cancelled.