Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

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

nayanmule
Kilo Sage

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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader