How to View the Duration of availability of agents in ServiceNow Advanced work assignment

MJ2025
Tera Contributor

[awa_agent_presence_history] table shows the time stamps agent getting available, away, offline.

How to see the time duration of an agent being available within a day?

 

presence_history.png

2 REPLIES 2

Shivalika
Mega Sage

Hello @MJ2025 

 

The best way for field value duration calculation is OOTB metric definition - Field Duration Calculation.

 

You can create a record for this table and define the field and conditions, you can create metric instances and then you can have calculation. 

 

Hope that helps. 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway,

 

Regards, 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @MJ2025 

You can create a metric definition on the presence state, which will provide the duration from one state to another. Then, you can create a DB view to generate the report agent-wise. You can also check the OOTB metric definition that has been defined on the state in the Incident table.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************