AnsweredAssumed Answered

how to get task information in ActivitiEventListener by ActivitiEvent

Question asked by smartxiaofish on Jul 23, 2015
Latest reply on Sep 21, 2016 by piyush.kaizen
Hi,

I create some tasks by TaskService, and create a ActivitiEventListener to listen TASK_CREATED event. and wish to inform candidates with this task summary.
but on
public void onEvent(ActivitiEvent event){}
method, event only exposes <blockcode>type, executionId, processInstanceId and processDefinitionId</blockcode>, no information about the task which dispatched  this event.

is there any method to get task information like task id in ActivitiEventListener?

thank you~

Outcomes