- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-14-2022 02:55 AM
How to filter Service Offerings based on Services selected from Record Producer ( Service Portal)
Both Service and Service Offering variables are referencing to cmdb_ci_services tabel
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-15-2022 07:11 AM
Hi,
So it means the ref qualifier works with hard-coded value of service sysId
Since you want to filter records you need not use script include; this should ideally work
Is the variable name business_service correct?
javascript: 'parent=' + current.variables.business_service.toString();
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
‎01-14-2022 08:14 AM
Hi,
I hope you have correct data in cmdb_ci_service table where selected Business service is parent of some other services.
No need to use script include call, you can achieve it in the advanced reference qualifier itself.
javascript:'parent='+current.variables.business_service.toString()
Thanks,
Anil Lande
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-15-2022 12:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-14-2022 09:28 AM
Hi,
You do not need a Script Include and you can achieve this using a Reference Qualifier itself as below:
Reference qualifier: javascript:'Give your Service Field Name=' + current.variables.Service_Variable_Name;
You can refer the below blog to learn more with a step by step explanation given:
https://community.servicenow.com/community?id=community_article&sys_id=1ce7dceedb5914101cd8a345ca961952
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-15-2022 12:44 AM
I have already tried with reference qualifier but didnt work... Please see the offerings table and how the data is available.
If I select "Adobe Premier Suite Service" from seervice field, no service offerings will be listed in the field.