Question
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689950000/d47045df-86e1-439e-bba1-56313191da02.jpg?itok=eS9sGDWK)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689950000/d47045df-86e1-439e-bba1-56313191da02.jpg?itok=eS9sGDWK)
Virtusa
US
Last activity: 6 Nov 2018 9:58 EST
Identify Cases with No Assignments
Hi ,
How can we get the list of Cases that are not in resolved state , but do not have any assignments associated with it .
ex : say case is in broken process , and due to manual error the repair flow assignment is cancelled .
Thanks.
-
Likes (1)
Subhajit Chattopadhyay -
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689968000/54c68a50-22c7-47d5-98f2-63df69104811.jpg?itok=I5MMyPJN)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689968000/54c68a50-22c7-47d5-98f2-63df69104811.jpg?itok=I5MMyPJN)
Coforge DPA
GB
Hi Adithya
Ideally if there is an assignment associated , the case should have an entry in "pc_assign_worklist" or "pc_assign_workbasket" table. So what you can do is to write a query on Work table with a filter on Status is not resolved and have subquery to find the cases that exist in work table but not in "pc_assign_worklist" and "pc_assign_workbasket" table.
Hope it helps.
Regards
Bhavya
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
CollabPartnerz
IN
so as per my understanding you want cases that are in Broken process ?
-
Takefumi Kobayashi
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689950000/d47045df-86e1-439e-bba1-56313191da02.jpg?itok=eS9sGDWK)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689950000/d47045df-86e1-439e-bba1-56313191da02.jpg?itok=eS9sGDWK)
Virtusa
US
Hi Gayatri ,
No , not Broken Process , Once case goes to broken process , u can cancel that assignment from Other Actions , once the assignment is cancelled , case just stays in Pending-XXXXXXXXXX status without any assignments . How to pull a report all those cases in this state ? Below is the sample case
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
IN
Did you try creating a Report Definition with filters for the pyStatusWork that displays the cases with some specific work status as per your requirement?
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
IN
Regarding the open assignments, you can filter with ".pyOpenCount" property for a case type to display those cases with zero assignments.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689950000/d47045df-86e1-439e-bba1-56313191da02.jpg?itok=eS9sGDWK)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689950000/d47045df-86e1-439e-bba1-56313191da02.jpg?itok=eS9sGDWK)
Virtusa
US
I need to find all cases which are not in resolved state and no assignments associated with it , where is pyOpenCount stored ??
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689954000/f7151e69-7bd9-4702-be03-ebb6f0beb05f.jpg?itok=GWX3Wdig)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689954000/f7151e69-7bd9-4702-be03-ebb6f0beb05f.jpg?itok=GWX3Wdig)
CollabPartnerz
IN
Below link might help you
Accepted Solution
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689968000/54c68a50-22c7-47d5-98f2-63df69104811.jpg?itok=I5MMyPJN)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689968000/54c68a50-22c7-47d5-98f2-63df69104811.jpg?itok=I5MMyPJN)
Coforge DPA
GB
Hi Adithya
Ideally if there is an assignment associated , the case should have an entry in "pc_assign_worklist" or "pc_assign_workbasket" table. So what you can do is to write a query on Work table with a filter on Status is not resolved and have subquery to find the cases that exist in work table but not in "pc_assign_worklist" and "pc_assign_workbasket" table.
Hope it helps.
Regards
Bhavya
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689950000/d47045df-86e1-439e-bba1-56313191da02.jpg?itok=eS9sGDWK)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689950000/d47045df-86e1-439e-bba1-56313191da02.jpg?itok=eS9sGDWK)
Virtusa
US
Thanks , I was able to get the cases with no assignments using sub-reports.