Which column refers "from" in sys_email table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
I am trying to implement inbound email action via flow designer.
I need to trigger the flow and create incident record only when i get an email from particular email address.
Here, i am creating the emails using bg script as we dont have such emails in the dev.
Script:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi,
There are two separate issues here.
The "from" column - sys_email does not have one. The sender address is in the headers field (email headers), and after processing it resolves into the user reference field via sys_user lookup. Your emailGr.from and setValue('from', ...) lines are ignored because that column does not exist.
For the flow not triggering - Flow Designer's Inbound Email trigger fires from the email processing pipeline, not from sys_email inserts. Your GlideRecord insert bypasses that pipeline. On top of that, you set state = 'processed', which tells the platform the email is already handled.
Find any existing received email in sys_email, edit its headers to include the From: address you want to test, then use Reprocess Email from the record's context menu. That pushes it back through the inbound pipeline and your flow trigger will evaluate.
For the flow condition, use the trigger's data pill for the sender and not a sys_email column.
Regards,
Harish K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
21m ago
the To field contains the actual recipient and Recipients contains combination of To and CC
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
