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***
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.
Have you achieved this functionality. I have the same requirement. I am trying with pyOpenCount property but not able to concatenate this with "My work".
Appreciate if you can share your experience on this.
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?