Changing Risk and Impact background color in change form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2025 08:28 AM
Hello Everyone,
I have implemented a Risk Assessment tab in change form before planning tab, risk assessment tab have 8 questions with 3 choices each and every options have scores which gets calculated and populate risk and impact field according to high, moderate and low which is working fine.
but i also want to implement background color change when the risk or impact is high color should be red, when it is moderate it should be yellow and when it is low it should be green.
risk and impact field is read-only.
please help me implement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2025 01:14 AM
Hello @SimranK93838843
YouTube video with steps: https://youtu.be/rCEUhax3NHs?si=Bc2RqvaPtBM_7JSj
Hope that helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2025 02:46 AM
i did created it according to the screenshot which you have attached but risk background color is still not changing does this work on read-only fields as well?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2025 03:29 AM
I tried and it is working on list view
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2025 03:34 AM
Sorry I guess I did not gave the requirement properly it is changing in list view as you have shown above but i wanted same in form view which is not reflecting.
thank you for your response please help me achieve same for form view as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2025 03:41 AM
https://www.servicenow.com/community/developer-forum/field-styles-in-form-view/m-p/2043537
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************