Field style - true/false field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2024 06:48 AM - edited 11-12-2024 06:57 AM
Hi ServiceNow experts, I have modified this existing Field Style and added && current.u_local_only == false but it is not working as I expected.
u_local_only field has a type: True/False
But even though the percentage of hours is less than 40 and record is not marked as local-only it is still not getting flagged on the report as I expected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2024 07:04 AM
is that field of type boolean or string?
try this
current.u_local_only.toString() == 'false'
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader