How can we add or highlight the caller value when VIP is selected same as in the fulfiller incident

Nunitas79
Giga Contributor

How can we add or highlight the caller value when VIP is selected same as in the fulfiller incident form?

4 REPLIES 4

Abhishek_Thakur
Mega Sage

Hello @Nunitas79 ,

 

You can use this below code to achieve your requirement.

g_form.flash("incident.number", "#FFFACD", 0);

 

Please mark my answer as accepted solution and give thumbs up!

 

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Nunitas79 

 

The OOTB works on the caller field via field style. You can copy the same code and put it on the Assigned To field. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

debendudas
Mega Sage

Hi @Nunitas79 ,

You can write a field style same as the field style present for the Caller field.

 

Please use the below steps:

  • Open an incident form
  • Right click on Caller field > Select "Configure Styles"
  • Open the style record used for VIP user's style
    debendudas_0-1725710145216.png

     

  • Copy the "Value" and "Style" field and create a new record for the "Assigned to" field with the same values.
    debendudas_1-1725710327031.png

     

If this solution helps you then, mark it as accepted solution ✔️ and give thumbs up! 👍

Abhishek_Thakur
Mega Sage

Hello @Nunitas79 ,

You can follow the below steps to change the styling of your caller_id field in incident form.

Highlight1.pngHighlight 2.png

Please mark my answer is accepted solution and give thumbs up! If it helps you.