Question
Ernst & Young
GB
Last activity: 17 Apr 2020 11:35 EDT
How can I count the number of Items in the worklist for each operator?
I need to create a function which calculates the total number of items in a users worklist. This is so that, if the number of items in a users worklist exceeds a specified number (pre-defined in DSS), then they will not be able to request any new cases, however if the number of items in their worklist is less than this number, then they will be able to request new cases.
Using Pega 8
***Edited by Moderator: Pallavi to update platform capability tags***
-
Likes (1)
Srinivasarao Choppa -
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
FR
Hello,
Well I think there are different approaches. It depends, is it for an admin screen? Do you have to drill down on assignments or just to display a count?
Of course you could work with multiple Report Definition or you could query all this with DB directly maybe.
Pegasystems Inc.
IN
Please use this (getCurrentWorklist) activity to get the list by passing the user id
now now find the size of the myWorkListPage page list, so you will get the list count
Pegasystems Inc.
US
Tested to run Assign-Worklist.getCurrentWorklist activity by passing the User ID from the drop down and able to see the total count in myWorkListPage.pxResultCount property.
Rabo Bank
NL
1. You can count no. assignment for each operator by creating reporting definition on Assign-Worklist class grouping it with pxAssignedOperatorID and aggregate using count function
2. To restrict operator to request new cases beyond some threshold use data page to load data for no. of assignment that particular operator have ( Data source for data page can be same report as mentioned above with extra filter for current requestor id Data only). We can compare count on data page to DSS on transaction where we want restrict current operator to request new cases.
Regards,
Dhananjay
Virtusa
AU
Is there any way I can display this count of open assignments against My Worklist?
Eg- In outlook/any email - it displays the number unread items. The same way, can we display this number in a brackets beside My Worklist?
Cheers
Capgemini
MY
Pegasystems Inc.
CA
Follow what Dhananjay mentioned above and create a report. This report would give you the count which you can show under My Worklist.
Accenture
US
I have a similar requirement to show the number of Items in a particular Work Basket or Work Queue at any point of time (i.e at the current time) . Is there any OOTB function to retrieve this number of Work Objects in a WB and display it to any user?
Virtusa
IN
Hi all, I have a requirement that I need to route assignment to the operator having the least number of items in his worklist comparing with other operators how to design this thanks.
Pegasystems Inc.
US
Thank you for posting your query here on this thread. However it appears that there is no activity and I would like to suggest that you istead Ask a Question yourself to start your own thread.
If you have any questions, don't hesitate to reach out.
Thanks!
Marissa | Senior Moderator | Pega Collaboration Center