Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Reference Qualifier on a User Reference Field(on sys_user table) to show only active users in servicenow

Vaishnavi35
Tera Guru

Hi,

Reference Qualifier on a User Reference Field(on sys_user table) to show only active users in servicenow.

find_real_file.png

I have to have users who are only active rightnow. In Reference qual field i want to right the script...

Please help me with this.

Thanks,

Vaishnavi

1 ACCEPTED SOLUTION

Nikhil Phalke
Kilo Guru

Hi,

 

In reference qualifier just write the below script.

javascript:"active=true"

 

Mark Helpful & Correct.

 

Regards

Nikhil Phalke

View solution in original post

3 REPLIES 3

p t1
Kilo Sage

Hi,

 

Use this encoded query  in your reference qualifier..

active=true

 

Thanks,

Preethi

 

Please mark correct, if helpful.

Thanks,

Preethi

Ankur Bawiskar
Tera Patron

Hi Vaishnavi,

by default there is out of the box business rule on sys_user table which shows only active users

BR Name: user_query

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

Nikhil Phalke
Kilo Guru

Hi,

 

In reference qualifier just write the below script.

javascript:"active=true"

 

Mark Helpful & Correct.

 

Regards

Nikhil Phalke