You can search for agents who have been in a certain state for too long.
Select WORKMODE from the first Sort by drop-down list
Select TIME from the second Sort by drop-down list
Select Descending as the sort order for the second Sort by.
Result
Sorting may cause the report to take longer to refresh. If you want to speed up the refresh rate, select (none) for all of the Sort by criteria to turn off the sort options.