Need to populate Asset Serial number in service catalog variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2023 09:49 PM
Hi All,
Need to populate requested for assets in lookup variable in catalog.
we have a requested for variable and we need to get the value of requested for Assets serial number from the (Alm_hardware ) table to populate in (serialnumber_varible ) lookup select box in catalog item.
Please suggest.
Thank you all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2023 03:59 AM
Below is the client script.
Below is Name variable we need to give user name
below is the serial number lookup select box, whom ever selected above name the asset serial number which are allocated to that user should papulate below variable.
Please suggest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2023 05:58 AM
in the variable attributes did you add as per what I mentioned above to the lookup select box?
ref_qual_elements=bmm_Namee
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-04-2023 08:50 PM
Hi @Ankur Bawiskar ,
Yes i have added the variable attributes same as ref_qual_elements=bmm_Namee
Please suggest.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2023 09:40 PM
so is it not filtering the assets?
are you sure the user you are selecting in reference for requested for has assets assigned to him/her?
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-04-2023 09:50 PM
HI @Ankur Bawiskar ,
Yes it is not filtering the assets and also i have selected user who having the assets assigned to him.
Please suggest.
Thanks,