Bases on the value of selected i one referrence field need to show only in another refereence field

Mansi roy
Tera Contributor

Hello All,

 

I have two fields in one table. One is name as 'application' which is reference  field refer to application table. 2nd  fieldname ' groups' which is refer application 'group' table. Based on the application selected in application field in 2nd need to show only groups that related to that  application.

 

How to achieve this one please help me.

 

Regards,

Mansi

 

 

2 REPLIES 2

Mr_X
Mega Guru

Hi @Mansi roy ,

 

Right click on Groups field and do configure dictionary.

Use Reference qualifier as advanced and in the reference qualifier do

javascript:'sys_id='+current.application.support_group.sys_id

Mr_X_0-1728445649676.png

update the field names accordingly and this will work.

If my solution works please mark it as helpful and don't forget to hit thumbs up button!

Amit Verma
Kilo Patron
Kilo Patron

Hi @Mansi roy 

 

A simple and no-code approach to your requirement is the Auto-Populate feature. Refer https://www.servicenow.com/community/developer-articles/auto-populate-a-variable-based-on-a-referenc...

 

Thanks and Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.