Need to show amber dot near case number

Abhishake1
Giga Contributor

Hi Developers,

We have a requirement to show a dot near the case which has a due date by end of that particular day e.g if my due date is 7 today date is 7 then it should show the dot near the case number in the list view.e.g

in the screenshot red dot is showing near the PI like the way we have to the show the amber dot near the case number in HR is the due date is today,i try to set this but it is not working.Screenshots have been attached for the reference.

Regards,

Abhishek

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Abhi,



Check the condition in the field style. It should work.



Following links should help you:


Defining Field Styles - ServiceNow Wiki



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


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

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Abhi,



I think following you need.


Example: If due date is today 7th Nov and today is 7th Nov then that color to be shown


have following in the condition:


have your column in place of bold text



javascript: due_dateONToday@javascript:gs.daysAgoStart(0)@javascript:gs.daysAgoEnd(0);



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


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

Abhishake1
Giga Contributor

Hi Ankur,



Thanks for the providing the information however it didn't work as i am trying to configure it HR case which scoped application so not sure does style works for that or not any other suggestion that you would like me to do.Screenshot has been attached.



find_real_file.png




Thanks,


Abhishek


Hi Abhi,



This field style will work on list layout.


Did you check any records are there matching this condition?


If there are any records matching this condition then the field style should work. no issue of scoped app.



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


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