color incident field based on SLA/Aging

bijender1
Tera Contributor

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 ?

19 REPLIES 19

sable
Mega Contributor

Hi Bijender,



Unfortunately I tried a few methods to get this to work without the additional field, but in the end this worked out to be the best method (for my situation).



The main issue being, in Field Styles, to change the Number field you modify the incident table.   But the business SLA information is stored on the Task table.   I utilise a script to pull the information from the Task table and update the new field on the Incident table as a reference point for the styles to work.



All the best in finding a different solution.


sable
Mega Contributor

As another similar solution, create the new field, but leave it off the form (technically hidden), then use the field styles to update the number field from the contents of the hidden field.


bijender1
Tera Contributor

Hi Kris,



Thanks for all your support,



one last help: can we color incident field same as above(green, orange & red) with aging of ticket instead of SLA. I think this will also help in some manner.


sable
Mega Contributor

Hi Bijender,



You can apply the style to any field you want with field styles, as per my previous post - you just need to give it a reference point (the SLAState field that you can hide).



I highly recommend you complete the learning plans here: https://developer.servicenow.com/app.do#!/lp?v=jakarta



All the best,



Kris.


Mr_Blue
Tera Expert

Hey bijender, Did you find the solution for this issue..

Can you please share with me 

 

Thank you