Incident creation of p2 and p3 inc when abc@gmail.com team send mail to servicenow mail box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2024 11:09 PM
Hi guys ,I need to create incident if abc@gmail.com sends alert/warning email to service's mailbox it should create pp fro inc r alert and p3 for warning ,I created inbound actions for this but when I am testing by from field it is creating inc but when I put condition recipient contains abc@gmail.com and sending mail to dev instance for testing it is not creating can you please guide following script I used for inc creation
if (email.subject.toLowerCase().includes('alert')) {
current.impact = '2';
current.urgency = '2';
}
else if (email.subject.toLowerCase().includes('warning')) {
current.urgency = '3';
current.impact = '3';
}
I
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2024 07:52 AM
Hi @dipa11
Hi @dipa11
The reason in PDI, emails are restricted, which means till the London release SN provides email servers but after that, due to some security issue this has been stopped. So now neither inbound nor outbound email work in PDI. But there is a solution as well, you can configure the Gmail server in PDI to make it work, but by doing this, you are bringing all your emails in PDI.
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2024 08:27 PM
I am not working in pdi actually it's my task in company actually abc@gmail.com this I given as example assume it's client mail id and I am testing functionality by sending mail from my outlook mail id to servicenow dev instance ,inc not creating when I tested by using condition receipient contains abc@gmail.com. ,sending mail to client-servicenow.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2024 04:26 AM
Hi @dipa11
Is email properties enable in the instance? Check is that email is going in email logs?
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]
****************************************************************************************************************