How to Calculate Deferred State Duration and Adjust Age Duration in Vulnerability Item Form?

rohitgotefode3
Tera Contributor

Hello Community,

 

I need to create two custom fields in the Vulnerability Item form in ServiceNow:

 

1. A field to calculate the Deferred State Duration, which tracks how long a vulnerability item remains in the Deferred state.

 

2. The second field should subtract the value of the first field from the Age Duration field and display the result.

 

What would be the best approach to implement this? Should I use Business Rules, Scripted Fields, or a different method? Any guidance or best practices would be greatly appreciated.

 

Thanks in advance!

Thanks and Regards,
Rohit Gotefode

1 REPLY 1

Shivam Sarawagi
ServiceNow Employee
ServiceNow Employee