cancel
Showing results for 
Search instead for 
Did you mean: 

BPM task for multiple persons

markus_schalk
Participant
0 Kudos

Dear experts,

is there a standard way of assigning a human task to multiple persons, where every person has to complete the task?

Regards,

Markus

Accepted Solutions (1)

Accepted Solutions (1)

junwu
Active Contributor
0 Kudos

yes,click the human activity,  check the  loop

markus_schalk
Participant
0 Kudos

Thanks for the quick response!

How does it work in detail?

If you set the loop to 3, and there are 3 user in the group assigned for potential owners.

If owner 1 completes the task, is it up to the other 2 to do the same?

Thanks in advance...

junwu
Active Contributor
0 Kudos

you prepare a collection which contains the user, system will loop based on the collection

all those user will receive respective task at the same time,

markus_schalk
Participant
0 Kudos

could you give me some more details on how this can be done?

We want to use a UME group assigned to the task.

All users should get a task which they should complete on their own...

junwu
Active Contributor
0 Kudos

for your case, you have to figure out the user list, cannot directly assign the group to the task.

markus_schalk
Participant
0 Kudos

if user list exists, how do we proceed?

junwu
Active Contributor
0 Kudos

make it as a collection, system will select each of the element and generate a task

you can prepare something like

<users><user>a</user><user>b</user></users>

or you compose a string  userlist=a;b;c;d, then use standard function tokenize(userlist, ";"), which will result in a collection.

markus_schalk
Participant
0 Kudos

Hi Jun,

i used the collection you mentioned. It creates as many tasks as users.

BUT, every user can see and work with every task. But the desired function is, that every user

gets one task...

Did i miss something?

Thanks in advance?

junwu
Active Contributor
0 Kudos

don't know what you are talking

what you want......

markus_schalk
Participant
0 Kudos

I am talking about the potential owners of the task. Every owner should receive only one task.

Therefore i am using this:

But it does not seem to work...

junwu
Active Contributor
0 Kudos

now how many tasks  each user got ?

markus_schalk
Participant
0 Kudos

I solved it by using this expression for the potential owners:

getPrincipalByUniqueName(currentCollectionItem,"user")

Answers (1)

Answers (1)

amolgupta
Active Contributor
0 Kudos

Hi Markus,

You might like to explore Parallel Split and Parallel join as well if it fits your requirement.

Regards,

-Amol Gupta