business_duration field - how is it set?

Tommy SN Sahlin
Kilo Sage

Hi Community!

 

There's a field on the Task table called business_duration.

- Is it still "alive" or is it deprecated?

- How is it calculated?

- Does it make use of any schedules, calendars etc?

 

many thanks in advance  /Tommy

4 REPLIES 4

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Tommy SN Sahlin 

 

yes, it is still there. 

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0780039

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0760164

 

*************************************************************************************************************
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]

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

Shivalika
Mega Sage

Hello @Tommy SN Sahlin 

 

It's active. Yes it makes use of schedules and calenders. 

 

To explain the difference - there is also a "duration" field in the table - this will calculation full duration from opened to resolved or closed whatever. But business duration will exclude the holiday or not working days per calender schedule and will only give that duration. 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

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

 

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

Robert H
Mega Sage

Hello @Tommy SN Sahlin ,

 

I would not recommend using the business_duration field.

As per this article posted before by AG, it's calculated based on the legacy calendar feature. Please use SLAs to measure the resolution time instead. They give you more control over which schedule and time zone to consider when calculating the business duration.

 

The Duration [calendar_duration] field, which captures the raw duration between Opened and Resolved time, is still useful sometimes.

 

Regards,

Robert

Shivalika
Mega Sage

Hello @Tommy SN Sahlin 

 

Please confirm if you checked my answer. Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for my efforts and also it can move from unsolved bucket to solved bucket. 

 

Regards, 

Shivalika 

 

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

 

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