
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2020 09:44 AM
I'm trying to make a parallel multi-instance task that is assigned to a dynamic amount of candidate groups. I have the candidate groups' apsIds in a Collection, but I want each multi-instance task assigned to only one group of the list (so each group has to finish the task once). How do I set up the assignment of the task?
- Labels:
-
Alfresco Process Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2020 03:28 AM
Hi Dave,
- Select Multi-Instance type to Parallel.
- Set Collection to the name variable that holds the list of groups to be assigned.
- Set Element variable (e.g. group_to_be_assigned), this varible holds the current item in the list
- Use your Element variable in Task Assignment using el. click on task Assignment > goto fixed values > in Candidate groups > add ${group_to_be_assigned}
Hope it helps.
Abbas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2020 03:28 AM
Hi Dave,
- Select Multi-Instance type to Parallel.
- Set Collection to the name variable that holds the list of groups to be assigned.
- Set Element variable (e.g. group_to_be_assigned), this varible holds the current item in the list
- Use your Element variable in Task Assignment using el. click on task Assignment > goto fixed values > in Candidate groups > add ${group_to_be_assigned}
Hope it helps.
Abbas

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-23-2020 06:29 AM
Thanks for your reply, I worked around it with a task listener but your solution is way better and cleaner. Tested it and it works like a charm!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-30-2020 06:14 AM
Thanks for updating your post & accepting the solution provided by @abbask01 - really helpful to other users.
Cheers,
Problem solved? Click Accept as Solution!
