Lookup Select Box is not showing values ONLY in service portal

Diksha19
Mega Expert

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!!

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

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

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

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

Vamsi Sreenivas
Tera Guru

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