- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2019 11:58 PM
Hello,
I am learning Inbound email actions, Can anyone help me in understanding this topic.
Here, Im trying to create a incident through email( how ever there is an OOB inbound email action) . I have set the system properties to email receiving enabled as True.
Here Im confused to which user_Id ,I'm supposed to send the email , to create the incident.
Kindly help me out.
BR,
SM.
Solved! Go to Solution.
- Labels:
-
Incident Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2019 12:03 AM
Hi,
you need to send the email specified in the from form of your Email Account SMTP, so for example in my personal instance, this is the ServiceNow email address to send the email for creating the incident:
If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.
Thank you
Cheers
Alberto

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2019 02:02 AM
Glade to know that, yes it's the User Name field to be used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2019 12:24 AM
Hi MSM,
Please fine the below code it works for you.
You can have the email inbound action on incident table
current.caller_id = gs.getUserID();
current.comments = "email received from: " + email.origemail + "\n\n" + email.body_text;
current.short_description = email.subject;
current.incident_state = IncidentState.NEW;
current.contact_type = "email";
current.insert();
Please mark helpful if it solve your task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2019 02:32 AM
Hi.
hope your question is to know to which email address use to send incident to create record in Incident table.
Goto:
system Mailboxes -> Email Accounts, select ServiceNow SMTP then in the record form of ServiceNow SMTP check active is true and the connection is working and also you can find email address you use to send incident.
If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.
Thanks!