Skip to Content
Former Member
Jul 06, 2012 at 11:01 AM

Getting the list of notification receivers from a BPM task detail


Hi everybody!

I am trying to get the list of notification receivers for a particular task, but it gives me an empty list for every task of the process, no matter that there are set, for sure. The following code from yatAPI is not working:

TaskDetail td = taskInstanceManager.getTaskDetail(taskId);

Set<IUser> recipients = td.getNotificationRecipients();

Are there any helper classes and methods to get this list or this is the one way?

Any help is appreciated!