Content Services (ECM)
Process Services (BPM)
Application Development Framework
Digital Business Platform
Announcements & Opportunities
Alfresco Ambassador Program
Alfresco Process Services & Activiti (BPM)
to create and rate content, and to follow, bookmark, and share content with other members. Not a member?
listen to events when a task is conplete
Question asked by
on May 3, 2015
on May 3, 2015 by balsarori
Show 0 Likes
Hi. How do I listen for tasks being completed, and how can I differentiate between the various tasks that might exist for a process definition?
No one else has this question
Mark as assumed answered
This content has been marked as final.
Show 1 comment
(Required, will not be published)
May 3, 2015 10:37 PM
Check out the
3.18. Event handlers
section of the user guide
To be notified only when a task completes, set the typedEventListeners property of
with a key
and value of
containing your class that implements
. Your class's
method will get called with an instance of
each time a task completes.
that you can use to differentiate between different process definitions. To differentiate between tasks, cast
. You can then get the task instance using the
(which, of course, you will need to cast). From the task instance you can use the task name or task definition key to differentiate between tasks.
Show 0 Likes
Retrieving data ...
Deploying and Running Alfresco Content Services 6.0
Unable to retrieve License information from Alfresco: 404
Upgrade to 5.15 Randomly duplicate Task in same process instance
10 Minute Tutorial