Apologies if the question seems too basic or invalid. I am new to Activiti and BPM.
I have an event listner and getting ActivitiEvent object.
ActivitiEvent event
How to get delegateTask object from it?
Thanks!
You can get the entity which should be a TaskEntity if it's ActivitiEntityEvent event and task related (i.e. type is ActivitiEventType.TASK_CREATED).
TaskEntity task = (TaskEntity) ((ActivitiEntityEvent) event).getEntity();
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.