Question
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689976000/56ca3299-9951-4be3-a98c-a5f7e62e2b9d.jpg?itok=f42Wx7az)
Rabobank
SE
Last activity: 4 Apr 2017 5:22 EDT
Display Case Details of a complete Hierarchy Structure
Hi All,
I have a requirement to display the all cases allocated to Lead and Agents.
Brief Plot: A manager logins in, in a grid the case details of call the Leads reporting to him and Agents reporting to each Lead has to be displayed.
5 Leads and each Lead has 5 TSA, so the cases all 30 operators (25 TSA and 5 Leads) has to be displayed who has their reporting manager as the logged Manager.
I have been able to achieve the first hierarchy (i.e) List of cases of a particular and all the agents reporting to him (In Lead Portal).
I joined the Operator class and used the reporting to condition as filter condition.
But i am not sure how to proceed with the two level hierarchy.
If anyone has any idea how to do this please share your thoughts.
Thanks,
Sarath