- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 12:51 AM
We have a record producer and a field named "Classification" which is a Lookup select box type , referencing to a custom table.
Reference Qualifier javascript:'u_product='+current.variables.service_backend+"^macd_type="+current.variables.macd_type;
So this is filtering the choices properly on Record producer form but not working on Case form where these variables are present in Variable editor.
So when I change Service_backend field or Macd Type field, Classification choices are not getting changed.
Can anyone help me with this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 03:39 AM
Hi,
I assume you must have added the ref_qual_elements attribute on your variable
what happens if you make it that as reference variable?
Are you sure all the variables are shown on form?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 02:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 03:13 AM
Hi,
share your variable configuration screenshot
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 03:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 03:39 AM
Hi,
I assume you must have added the ref_qual_elements attribute on your variable
what happens if you make it that as reference variable?
Are you sure all the variables are shown on form?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 05:08 AM
This is the reference qualifier I added: javascript:'u_product='+current.variables.service_backend+'^macd_type='+current.variables.macd_type;
If I make it reference field, it is not giving unique results, duplicate records are coming and mainly based on this Classification field I need to populate other fields, So I am getting sys_id If i make it reference, I need it as Lookup select box and use Reference qualifier