AnsweredAssumed Answered

Incomplete/Incorrect TaskEntity from ActivitiEntityEventImpl?

Question asked by kingsheldor on May 12, 2014
Latest reply on Jun 6, 2014 by kingsheldor
I created an extension of your BaseEntityEventListener and am overriding the onCreate() method.  When I have a new task, it is correctly sending me the ActivitiEntityEvent, from which I am getting the TaskEntity.  However the TaskEntity is not fully populated.  For example it has a null assignee, processInstanceId, name, etc.

Furthermore, when I use the TaskService to get the fully-populated task (using the processInstanceId from the ActivitiEntityEvent), I found that they have different ids.  Why does the TaskEntity from the TaskService query have an id of 308 while the TaskEntity from the event have an id of 502?  Which one is correct?

Outcomes