- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2022 05:46 AM
Hi,
We are trying to get the caller id from the email subject of the inbound action email and set it as a caller for the incident.
Thanks for any help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2022 05:51 AM
Hi,
Please elaborate your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2022 05:53 AM
You get the caller from email.from objevt , from that email you can get the sys_id of user by gliding the user table.
If you are getting something specific in the email, then it should be at a defined place , like the subject should start with caller id. In that case you can perform string operations on the email.subject and get the caller id.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2022 05:55 AM
Hi,
I guess this is what you are looking for
current.caller_id = email.subject;
Please share any scripts if you have
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2022 06:23 AM
Hi Aquib,
Thanks for the quick replay.
I sent an email to ServiceNow to create an incident in Servicenow and I mentioned the user Id in the email Subject but still no caller in the incident form.
Inbound action:
Thanks.