Query "Caller" Using email ID

thayanc
Tera Contributor

I am trying to query the "caller" table using caller's email ID instead of sys_ID.

 

Query using sys_id - working

https://company.service-now.com/nav_to.do?uri=%2Fsys_user.do%3Fsys_id%{{sys_id}}%26sysparm_view%3Des...

 

Query using email - not working

https://company.service-now.com/nav_to.do?uri=%2Fsys_user.do%3Femail%{{email_id}}%26sysparm_view%3De...

 

Please let me know if I could query the Caller table using caller's email.

3 ACCEPTED SOLUTIONS

This will work

 

https://<instance name>.service-now.com/sys_user.do?sysparm_query=email=<email>

 

 

-Anurag

View solution in original post

Faiz Ahmed Moha
Giga Expert

Hi @thayanc

 

Please try the below sample query.

https://company.service-now.com/sys_user_list.do?sysparm_query=email%3Dabel.tuter@example.com&syspar...

 

Please mark 'helpful' and 'Accept solution' if this works for you.

 

Regards

Faiz Ahmed.

View solution in original post

You got answer from expert. 

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

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

View solution in original post

10 REPLIES 10

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @thayanc 

 

What is the use case here, search by email is a good option but with sysid is not a good way.

LearnNGrowAtul_0-1704306253757.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,

Thank you for the response. The use case for me is, we are using Cisco WebEx contact center solution for helpdesk email, when a known "caller" sends an email to our helpdesk, Cisco WebEx will deliver the email to an agent and I would like to pop-up a ServiceNow "Caller" page, so that the agent could easily handle the caller issue, without any manual process to see the "caller" email and use ServiceNow page to lookup the user. 

HI @thayanc 

 

Not sure I under stand your problem statement, when a user send emai, a pop up message is shown to agent but what it this pop up will do? Still not clear to me. 

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

Sorry for the confusion. Let's make it simple...

 

You could pull a caller info by this URL, using sys_id of a caller:

https://company.service-now.com/nav_to.do?uri=%2Fsys_user.do%3Fsys_id%{{sys_id}}%26sysparm_view%3Des...

 

Since the known info of the "caller" to WebEx is the sender/caller email ID, is there a way to pull caller info from ServiceNow using only email ID, if yes what would be the URL?