How to Calculate Deferred State Duration and Adjust Age Duration in Vulnerability Item Form?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2025 05:16 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2025 11:43 AM
You can look at the platform's function field to do this