Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Inbound Action Assign to assigned to

manumanoj
Tera Contributor

Hi All

Based on recipient to assign to assigned TO how to achieve this please suggest

1 ACCEPTED SOLUTION

Sandeep Rajput
Tera Patron
Tera Patron

@manumanoj extract recipient email in the Email Action script, find the corresponding user by querying the sys_user table and addQuery('email', email.to.toString().split(',')[0]); email.to returns comma separated list of recipients.

 

once you find the user. 

 

current.assigned_to = glideUser.getValue('sys_id');

 

Hope this helps.

View solution in original post

9 REPLIES 9

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @manumanoj 

 

OOTB, it is here

 

AGLearnNGrow_0-1718021324484.png

 

 

But remember either drop down work or script at at time. 

 

AGLearnNGrow_1-1718021361261.png

 

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

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

Hi @Dr Atul G- LNG this was not working 
in the Email body says that Hi @xyz it is auto populated in recipient (to) this has to assign to assigned to 

Hi @manumanoj 

 

I am not sure, but is that user exits in SN with same ID?

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

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

@Dr Atul G- LNG Yes Same Id