cancel
Showing results for 
Search instead for 
Did you mean: 

Getting the list of notification receivers from a BPM task detail

Former Member
0 Kudos

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!

/Jennya

Accepted Solutions (1)

Accepted Solutions (1)

SandipAgarwalla
Active Contributor
0 Kudos

can you post the code lines written above these?

Did you get the process instance correctly?

Sandip

Former Member
0 Kudos

yes, I receive the instance of the process, and the task's ones also.

Answers (0)