Field style - true/false field

tindiz
Giga Guru

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.

 

tindiz_0-1731422721695.png

 

u_local_only field has a type: True/False

tindiz_1-1731422779421.png

 

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.

 

 

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@tindiz 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader