PrashantLearnIT
Tera Sage

We can display 𝗽𝗿𝗼𝗴𝗿𝗲𝘀𝘀 𝗶𝗻𝗱𝗶𝗰𝗮𝘁𝗼𝗿𝘀 with customized colors on the list view of any table by creating a field of type "𝗣𝗲𝗿𝗰𝗲𝗻𝘁 𝗖𝗼𝗺𝗽𝗹𝗲𝘁𝗲"

On the form view, this field type accepts 𝗱𝗲𝗰𝗶𝗺𝗮𝗹 𝗶𝗻𝗽𝘂𝘁; on the list view, it appears as a progress indicator bar.

We can specify the threshold and respective colors, the attribute named 𝘁𝗮𝗿𝗴𝗲𝘁_𝘁𝗵𝗿𝗲𝘀𝗵𝗼𝗹𝗱_𝗰𝗼𝗹𝗼𝗿𝘀 is used to define these parameters
example:
𝘁𝗮𝗿𝗴𝗲𝘁_𝘁𝗵𝗿𝗲𝘀𝗵𝗼𝗹𝗱_𝗰𝗼𝗹𝗼𝗿𝘀:𝟬:𝗿𝗲𝗱;𝟯𝟬:𝗼𝗿𝗮𝗻𝗴𝗲;𝟳𝟬:𝘆𝗲𝗹𝗹𝗼𝘄;𝟵𝟬:𝗴𝗿𝗲𝗲𝗻

Based on this condition, if the value lies between 0-29 the progress bar color would be 𝗿𝗲𝗱 if the value is between 30-69 - the color would be 𝘆𝗲𝗹𝗹𝗼𝘄, and so on.

Check out the docs for more info:- https://docs.servicenow.com/bundle/utah-platform-administration/page/administer/field-administration...

 

If my content helped you in anyway, please mark this content as BOOKMARK, SUBSCRIBE & HELPFUL

 

Best Regards,

Prashant Kumar (LearnIT)

 

YouTube Channel LearnIT: https://www.youtube.com/@learnitwithprashant

Blog LearnIT: https://medium.com/@LearnITbyPrashant

Prashant Kumar LinkedIn: https://www.linkedin.com/in/learnitbyprashant/

ServiceNow Community Prashant Kumar - https://www.servicenow.com/community/user/viewprofilepage/user-id/19635