logo

NJP

ServiceNow Things to Know 2: Percent complete field type

Import ยท Dec 06, 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 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/en-US/bundle/tokyo-platform-administration/page/administer/field-adminis...

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

View original source

https://www.servicenow.com/community/developer-blog/servicenow-things-to-know-2-percent-complete-field-type/ba-p/2753844