
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2017 11:37 AM
I need to capture the sys_id from an incoming email in a variable within an inbound action script. I can get email.body_text, email.subject, etc. but email.sys_id comes back as 'undefined'. email.getUniqueValue() doesn't work either (I didn't really expect it to) and I'm at a loss for what else to try.
Thanks in advance for any help.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- 7,000 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2017 11:47 AM
According to docs, it appears that you might be able to do something like sys_email.sys_id.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2017 11:47 AM
According to docs, it appears that you might be able to do something like sys_email.sys_id.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2017 11:57 AM
Ah, so simple! Thank you! I really did search before I asked, honest....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2018 03:04 PM
Confirmed that sys_email.sys_id ran inside of an inbound email action will get the sys_id of the current inbound email for use to pass to variables so that workflow can pull and reassign the attachments or other information from the email.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2025 05:36 AM
This worked for me too