Bases on the value of selected i one referrence field need to show only in another refereence field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2024 09:49 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2024 08:48 PM
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
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2024 09:42 PM
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.