Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

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

Hi @ShubhamK2600572 

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

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