Hi All, I want to calculate the age of the incidents , requested items and catalog task on the table. Could some one please help me on starting from creating the Age field and till it calculates the age.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2021 01:51 PM
Hi All, I want to calculate the age of the incidents , requested items and catalog task on the table. Could some one please help me on starting from creating the Age field and till it calculates the age.
- Labels:
-
Performance Analytics
-
Reporting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2021 01:56 PM
You can't really create an age field since it changes every second. What are you trying to get? Performance Analytics handles this by calculating the age once a day during the collection process.
If I need to report on it, I generally look to use SLAs since that is optimized for this task as well.
What are you trying to get from an age field?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2021 07:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2021 12:36 AM
Hey,
If you just want to show this to user on form load in platform then you can have this field with field type as glide_duration and use an on load client script to populate the value.
But if you want this for reporting purpose then NO. As Adam said it changes every second.
Now, If you have PA and you want to use this for reporting purpose then you can use Age breakdown in PA which is available OOB to use. It will bucketize the requested items to show the age.
Was this helpful? Let me know by marking it so.
ServiceNow Community Rising Star 2022/2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2021 03:07 AM
OR if you found the solution yourself, I'd encourage you to share the solution here so that others can take help.
ServiceNow Community Rising Star 2022/2023