logo

NJP

ServiceNow Things to Know 38: Display Progress Indicators on a List View

Import ยท Dec 19, 2023 ยท article

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 parametersexample:๐˜๐—ฎ๐—ฟ๐—ด๐—ฒ๐˜_๐˜๐—ต๐—ฟ๐—ฒ๐˜€๐—ต๐—ผ๐—น๐—ฑ_๐—ฐ๐—ผ๐—น๐—ผ๐—ฟ๐˜€:๐Ÿฌ:๐—ฟ๐—ฒ๐—ฑ;๐Ÿฏ๐Ÿฌ:๐—ผ๐—ฟ๐—ฎ๐—ป๐—ด๐—ฒ;๐Ÿณ๐Ÿฌ:๐˜†๐—ฒ๐—น๐—น๐—ผ๐˜„;๐Ÿต๐Ÿฌ:๐—ด๐—ฟ๐—ฒ๐—ฒ๐—ป

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.

View original source

https://www.servicenow.com/community/developer-blog/servicenow-things-to-know-38-display-progress-indicators-on-a/ba-p/2766815