How to display only assets that are assigned to the selected user in Record Producer

Kentaro Numata
Tera Guru

Hello, It's Kentaro.

 

We are creating a form with Record Producer.

 

There are two columns below.
[1] Reference column of sys_user
[2] Reference column of alm_hardware

 

I want to display assets in [2] only for assets that are registered as Assigned to by the user selected in [1].

If you know how to implement from Reference qualifier, please let me know.

 

Thanks,
Kentaro.

1 ACCEPTED SOLUTION

Vishal Birajdar
Giga Sage

Hi @Kentaro Numata 

 

You can write a reference qualifier like below.

 

javascript:"assigned_to=" + current.variables.your_first_variable_name;

 

See the attachment as colon(:) get formatted to colon& 

 

 

Vishal Birajdar
ServiceNow Developer

I know one thing, and that is that I know nothing.
- Socrates

View solution in original post

3 REPLIES 3

Ziad Qadora
Kilo Sage

Hi,

There is an OOB record producer "Reclaim Asset" that is doing that already, please check it or check the attached screenshot of how asset variable needs to be configured.

 

Regards,

 

Ziad

Please mark my reply as Helpful and/or Accept Solution, if applicable. Thanks!

 

 

 

Screenshot 2023-09-26 184510.pngScreenshot 2023-09-26 183620.png

Vishal Birajdar
Giga Sage

Hi @Kentaro Numata 

 

You can write a reference qualifier like below.

 

javascript:"assigned_to=" + current.variables.your_first_variable_name;

 

See the attachment as colon(:) get formatted to colon& 

 

 

Vishal Birajdar
ServiceNow Developer

I know one thing, and that is that I know nothing.
- Socrates

Thank you!!!!!!!!