Field styles on form and lists do not behave as expected for some users

Ria
Tera Contributor

Even after the user updated the request, the red dot is still visible on the updated field. (refer to the attached screenshot)

RiyaJain_0-1741251918073.png

 

15 REPLIES 15

@Ria 

is that an OOB field style or a custom one?

are you sure your logic is working fine i.e. the script?

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

@Ankur Bawiskar It is custom one.

@Ria 

are you sure your script is correct?

please share here

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

@Ankur Bawiskar 

Not sure if the script is correct. 

javascript:(GlideDateTime.subtract(new GlideDateTime(current.sys_updated_on),new GlideDateTime(gs.nowDateTime())).getDayPart() >2)

@Ria 

are you saying some users are seeing the red dot correctly based on the calculation and some are not?

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