Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

client side script for Priority look up in incident table for any custom table

kaleharish1
Giga Contributor

how to write client side script in any custom table for Priority look up as same in incident table.

4 REPLIES 4

Dinesh Chilaka
Mega Sage

@kaleharish1 ,

The out-of-the-box (OOB) priority lookup on the Incident table isn't driven by a Client Script. It's implemented through Data Lookup Definitions.
So refer this video on how to create Data lookups for custom table 
Creation of Data Look Ups for Custom Table 

If my response finds helpful to you, mark it as helpful and accept the solution.
Thanks,

Dinesh

Tanushree Maiti
Tera Patron

Hi @kaleharish1 

 

To build priority lookup on incident table , you need to set the Data definition rule and create the records in Priority lookup table as per your requirement. No client script is needed.

 

TanushreeMaiti_1-1789960905315.png

 

 

TanushreeMaiti_2-1789960946692.png

 

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

Ankur Bawiskar
Tera Patron

@kaleharish1 

why you want client script?

you can configure it for your table and system handles the rest.

Custom Priority Lookup - Source table field blank 

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

Aditya_hublikar
Giga Sage

Hello @kaleharish1 ,

 

For priority lookup , there is OOTB configuration not client script ;

 

 

You can refer this : 

https://www.youtube.com/watch?v=EGR1n8oSk2c

Assignment, Priority & Data Lookup in ServiceNow Follow Me : https://www.facebook.com/rohitkumar0094 Follow Our Page: https://www.facebook.com/snowexpert33 Telegram Channel: https://t.me/SnowExpertRohit WhatsApp Group: https://chat.whatsapp.com/HFbTe4QTcYA6bITeKONvVd Tags--- @snowexpert The data ...