color incident field based on SLA/Aging
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-02-2017 06:24 AM
Hi All,
We have a SLA running on our Servicenow, but there is no color coding in the incident field( color coding is on Priority field ).
Can we color Incident field based on SLA and the aging ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-02-2017 06:30 AM
You can do this with some scripting - I recommend a business rule on the task_sla table that keeps a field of your own (or perhaps an existing field on incident) updated. Then use a field style on that field.
The trick is going to become when you have multiple SLAs against the same record. Perhaps one on the assignment group and one on the CI. They could have different agreements, which means a single field on the incident form cannot accurately represent what is happening.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-02-2017 06:42 AM
Hi Chuck,
Thanks, Frankly if anything comes to Script, i am not an expert,
If possible can you guide me through this with the help of screenshots( i am using Helsinki )

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-02-2017 06:47 AM
Hi Bijender,
What is the underlying requirement here? If it is so people can see which incidents have breached SLAs, consider using a report on the task_sla table. There may even be one OOB. If not, it wouldn't take long to create one.
If I can understand what the requirement is, it will help arrive at the proper solution rather than writing you a script that you don't understand and may find difficult to maintain going forward.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-02-2017 07:07 AM