inbound action not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2024 07:39 AM
Hi Guys,
here is my inbound action:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2024 07:49 AM
Hi @tGhadage ,
Corrected Script:
if (email.subject.toLowerCase().indexOf("critical") > -1 && email.recipients.toLowerCase().indexOf("test@test.com") > -1) {
current.impact = 3;
current.urgency = 3;
current.priority = 3;
current.short_description = email.subject;
current.insert();
}
If you find my response helpful, please consider marking it as the 'Accepted Solution' and giving it a 'Helpful' rating. Your feedback not only supports the community but also encourages me to continue providing valuable assistance.
Thanks,
Amitoj Wadhera
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2024 08:08 AM - edited 06-05-2024 08:08 AM
So here incoming email address is presented as a recipient.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2024 08:20 AM
its still creating the incident for the subject " clear ".