Restrict certain users from showing in the requested for search when using two step checkout

Bcrant
Tera Contributor

Hello, Community.

 

Hoping someone can assist. I'd like to restrict certain user accounts from being added as a requested for user while using the two step check out check out model. I've attached a screen shot for reference. Thanks in advance!

4 REPLIES 4

Sandeep Rajput
Tera Patron
Tera Patron

@Bcrant You need to use a reference qualifier on the requested for field to restrict certain user accounts from being added as a requester. For more information please refer to https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/script/server-scripting....

 

 

Thank you for your reply @Sandeep Rajput. The issue that I'm running into is that I cannot find how to set a reference qualifier on that variable. It's part of the two step check out model and I cannot right click to open field options. Do you know how I can set a qualifier? I checked the widgets but didn't see anything that stood out.

@Bcrant This question led me to look for answers in different threads and finally came across this one https://www.servicenow.com/community/developer-forum/reference-qualifier-on-request-for-on-order-con... here one of the responders @Keith E suggested to adjust system property glide.sc.request_for.query to set filter for the requested for field.

 

Here is a KB article around the same https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0685154

 

Here is how the property is currently used in one of the widgets.

 

Screenshot 2024-03-08 at 8.11.56 AM.png

Hope this helps.

Sumanth16
Kilo Patron

Hi @Bcrant ,

 

Please refer to thread:

https://www.servicenow.com/community/itsm-forum/how-to-make-quot-requested-for-quot-field-read-only-...

 

 

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda