Determine origin of event that causes a TaskListener "delete" event

I am writing a TaskListener to publish Task events to a topic (to collect statistics).

Some tasks are closed by boundary events as a result of a user-performed task in another system. So, even though the task event (taskDelegate.getEventName() ) is a “delete” it is actually a completed task. I want to be able to distinguish between the source-events that resulted in the UserTask “delete” so that I can translate some “delete” into “complete”.

The getDeleteReason() is very unhelpful - “deleted” :smiley:

Anyone have any suggestions?
Many thanks.
How can I distinguish between

Is it not possible to find out the type of (boundary or otherwise) event that triggered the deletion of a user task?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.