Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to store the business hours since the incident was last updated?

nayanmule
Tera Expert

Hi All,

 

I want to store the business hours in some field since the incident was last updated. 

For example if incident was last updated 2 days ago, I want to add that time in business hours & store it in some field. 

So, here the field will store the value as (9x2 = 18 hours) . 

 

Any help will be appreciated.

 

Thanks 

Nayan Mule

10 REPLIES 10

@nayanmule 

Were you able to achieve this?

If yes then share the script so that it helps other members.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader