How to push SysIDs in reference field

Maddysunil
Kilo Sage

Hi Everyone

 

I have an arrays of sysids in client script and i want to push those sysids in a reference field in that client script. How can i push. Please help..thanks in advance

7 REPLIES 7

Pavankumar_1
Mega Patron

Hi @Maddysunil ,

If my response helps you to resolve the issue close the question by Accepting solution and hit thumb icon. From Correct answers others will get benefited in future.

If it helps please click Accept as Solution/hit the Thumb Icon.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar

Pavankumar_1
Mega Patron

Hi @Maddysunil ,

This is open from the long time. Have you tried my response ?

Solutions are provided please see the solutions and try.

Reply if you need any help.

If it helps please click Accept as Solution/hit the Thumb Icon.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar

Ajay25
Tera Contributor

Hi Maddy, 

 

You try to push the values in reference field using reference qualifier.

 

 

javascript&colon;"sys_id!=" + current.variables.<catalog item variable name>;

 

Ajay Game
ServiceNow Developer