Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

From which Record the UI Action is Triggered

ShubhamK2600572
Tera Contributor

In user Table we have field as department which is reference of cmn_department table. I have created one UI action along with UI page for in Department table to create new Department. I want to fetch record of the user from where we have open the search option of department and click the UI action. 

I want to auto-populate some field in department table by taking the value from that particular user record. Is there any way we can get that record in UI action.  

ShubhamK2600572_0-1758880704588.png

ShubhamK2600572_1-1758880778441.png

 

5 REPLIES 5

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @ShubhamK2600572 

Why did you create the new UI action? You can create the department directly by going to the department table

*************************************************************************************************************
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]

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