Reference selection in Service Catalog Auto-Populate

nakamura323
Kilo Guru

https://www.servicenow.com/community/developer-articles/auto-populate-reference-data-in-service-cata...
I am thinking of setting Auto-Populate for variables of catalog items by referring to the above article.

But Reference , the target table [sys_user] cannot be selected.

 

I can find the [sys_user] table as in this screenshot, but I can't select it.

スクリーンショット 2024-02-27 202933.png

 

I have confirmed that the version of ServiceNow I am using is Utah. What should I check, such as business rules? thank you.

1 ACCEPTED SOLUTION

_Gaurav
Kilo Sage

Hi @nakamura323 
That is correct, you cannot select any other table here in the reference field. It automatically takes the table where the 
the dependent question field is referred to.

Screenshot 2024-02-27 171515.png

For example here in the above SS, you can see my Requestor field is referring to User table so it automatically takes the same table and doesn't allow me to change the value.

Please mark this as helpful and accept it as a solution if this resolves your query

Thanks!

View solution in original post

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @nakamura323 

 

Auto populate did not work on Reference field. For this you need to write script only.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

_Gaurav
Kilo Sage

Hi @nakamura323 
That is correct, you cannot select any other table here in the reference field. It automatically takes the table where the 
the dependent question field is referred to.

Screenshot 2024-02-27 171515.png

For example here in the above SS, you can see my Requestor field is referring to User table so it automatically takes the same table and doesn't allow me to change the value.

Please mark this as helpful and accept it as a solution if this resolves your query

Thanks!

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

In your screenshot you can see the sys_user table only, the label of the table is User and the back end name is sys_user.

AnuragTripathi_0-1709034495292.png

 

 

-Anurag