how to display only my assets list which are assigned to me when i select Asset field in the record producer ?

hemachandra2
Tera Contributor

Hi All,

how to display only my assets  list which are assigned to me when i select Asset  field in the record producer ?

Please help me to achieve this

 

Thanks 

Hemachandra

 

14 REPLIES 14

Hi,

You can change reference table

find_real_file.png

 

Thanks,

Chaitanya

chsumit
Kilo Expert

Hi,

In the variable add the reference qualifier. Assigned to dynamically me.

 

Thanks,

Sumit

Ankur Bawiskar
Tera Patron
Tera Patron

@hemachandra 

are you saying you are having some variable which refers to user table and that user's assets should be displayed in asset variable

Make asset variable refer to alm_asset table

you can use reference qualifier on the Asset variable

give correct variable name

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

If there is no variable and by default you want to show logged in user's asset then use this

javascript: 'assigned_to=' + gs.getUserID();

Regards
Ankur

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

@hemachandra 

Hope you are doing good.

Did my reply answer your question?

If my response helped please close the thread by marking appropriate response as correct so that it benefits future readers.

Regards
Ankur

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

@hemachandra 

Hope you are doing good.

Did my reply answer your question?

If my response helped please close the thread by marking appropriate response as correct so that it benefits future readers.

Regards
Ankur

 

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