Discussion

Assignment to all Users in a workgroup

Hi - I have an assignment which is routed to a workgroup. The requirement is such that each user in the workgroup should get the assignment task and flow should not proceed to next step until all the workgroup users complete their assignment task. Are there a way to implement this?

Thanks
Ganesh

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

January 18, 2012 - 2:57am

Not sure if any OOTB facility is available. Before that, I've a question.

1)What is the task that each user performs in the assignment?
2)I mean, is the assignment look and feel, similar or different for different users?

January 18, 2012 - 3:06am

Once the assignment step is reached in the flow, it has to be routed to all the users in a workgroup. Everyone should see the same UI and there is a text area which each user fills. The flow should progress only when all the workgroup users complete their respective tasks.

I did this in a different BPM tool but not sure how to implement this in PEGA

January 18, 2012 - 3:12am

1.do an obj-browse to get all operators that belong to a workgroup, into a pagelist.
2.In your mainflow, use a split-foreach shape on the pagelist obtained in step1.
3.Create a subflow that contains the assignments that you want to direct to different users.In assignment properties, you can mention the operatorID that you want to direct to.
4.Give this subflow in the splitforeach shape and select Join as "All" in the properties tab of splitforeach.

This will create an assignment for each operator in the pagelist obtained in step1. Once all operators performs that assignment, mainflow resumes.

January 18, 2012 - 3:33am

Thanks,I will try and let u know

January 12, 2016 - 2:25pm

kindly follow below steps to archive your requirement

1)Bring all the respective operators in an pagelist by doing necessary obj browse.Or Else you can create a data page where we can make list of operators dynamic by passing params to data page

In Case if you want to provide an access to end users to update the list of operators than create an data table with necessary coloums where end users can update the list in the data table

2) In the main flow add an split for each share and provide the list of operatos DataPage/Pagelist  and Update the flow propeties as "All" 

3) Create the sub flow  to route respective operators of work group and specify these new sub flow in split for each

try to have the respective operator in each page of an respective pagelist where it makes easy to reuse same subflow for all the operators by passing these routing worklist name dynamically