How to display only hardware assets based on user selected?

Deepika61
Tera Contributor

Hi All,

I have Asset and requested for fields on the record producer, so Asset field on the asset table , so here my requirement , in the asset field need to display only  hardware assets which are assigned to that user selected in the user field ?

please suggest me on this

Thanks

Deepika

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you can use reference qualifier on the Asset variable

give correct variable name

javascript: 'assigned_to=' + current.variables.requested_for;

regards
Ankur

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

View solution in original post

7 REPLIES 7

Hi,

Can you share which form you are referring?

which variables are there and what type?

I could assume

1) Asset variable referring to Asset table

2) Requested For variable referring to User table

So based on that assumption if you select some Requested for user it would filter and show only those assets which are assigned to Requested for user

Regards
Ankur

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

Hi Ankur ,

Yes ,correct  and that too it will display assets of  hardware only  that means actually (in assest we we have like software license  ,hardware  and consumable..etc class names), so in that i want to display assets of hardware ?

Thanks

Deepika

Hi,

please share the variable configuration screenshot

Regards
Ankur

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