Inbound email failing on procurement case table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2025 10:38 PM
Hi, I have created an inbound email action on the sn_spend_psd_procurement_request table with execution order at 1.
I added a condition to only process emails from the same email domain.
(email.from.indexOf('@mycom.com') > -1)
However, it shows this message saying it failed, and it processed the email because it has the watermark and the case number in the subject.
Skipping script 'ProcCase Replies from Domain', condition '(email.from.indexOf('@mycom.com') > -1)' failed
Email is classified as reply for triggers execution
My question would be, is it possible to bypass this and make my inbound condition to be the ONLY one processing these emails?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2025 11:04 PM
Hi @olufsen
Try below code in condition instead
email.origemail.toLowerCase().indexOf("@mycom.com") != -1
Look for more troubleshooting on below
Troubleshooting inbound email action issues - Support and Troubleshooting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2025 11:12 PM
Hi @olufsen ,
create 2/3 inbound email actions
1 for type New and 1 for the Reply 1 for forward as well if need with same logic
and enable stop processing if needed on all of them
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2025 02:51 AM
There could be below possibilities :
1. email always checks for case sensitivity, save email ID of From when it lands on sys_email in lower case, compare the same in Action. this will solve this issue for all future work on email actions and email flows.
2. Even this won't work and you see different issue - See if you have action for New, reply.
3. I will recommend to do this in flow and not in inbound action, reason is , flow gives your developer more flexibility and less hassle with no code/low approach and easy usage of data pills.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2025 10:54 PM
@Pramod Devkate1 I was opting to use Flow; however, I'm not sure how to interpret my condition. Do you have any idea how to do it?