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”
Anyone have any suggestions?
Many thanks.
How can I distinguish between