Lookup Select Box is not showing values ONLY in service portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2022 08:48 AM
Hello,
I have 'Lookup Select Box' variable in catalog item. This is using reference qualifier to pull list of assests tagged to that user from assest table. It is simple and straight forward. But this is not working for some users ONLY in service portal and works for all in native view. I dont want to have client script setup as this already is an complex workflow.
Variable Type: Lookup Select Box
Lookup Value Field : Serial Number
Lookup Lable Field: serial_number
Ref Qual : javascript:'hardware_statusINassigned,installed^u_refresh_dateISNOTEMPTY^assigned_to='+current.variables.requested_for.requested_for23
Attributes: ref_qual_elements=requested_for23
This is not related to ACL as it works in native view.
Any help would be appreciated!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2022 10:26 AM
Hi,
it works fine for admins in portal?
Since you said for Some users then did you check ACL on that table is restricting; query BR on that table is restricting.
Since it's not working for some users no issue with the logic.
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
‎08-31-2022 06:07 AM
Hi Ankur,
Yes, Checked ACL and it looks good there is no restrictions. As I mentioned this is happening only in portal and the same users can view the assests in native view.
I suspect this is due to the ref_qual condition but still not clear
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2022 06:37 AM
Hi Diksha, what is the value of requested_for23 variable as the returned asset list is based on the value you are passing with requested_for23.
Regards,
Vamsi S