- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2025 07:26 AM
I'm working on a workflow to update the caller of an incident if the email address they used to contact us matches the secondary email address on their profile.
I'm running into an issue with the Email Record field in the "Get email header" action. I want to use the text of the incident's short description to match an email record, but the Email Record appears to be looking for a sysid and not a string.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2025 06:02 PM - edited ‎03-07-2025 06:06 PM
Hi @dowson
It's expecting the "Email record object".
So it won't accept any other data types.
So as a first step, lookup the email record to get the latest email using the incident (trigger) reference.
Then pass that email as an input to the "Get email Header" action.
It'll work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2025 06:02 PM - edited ‎03-07-2025 06:06 PM
Hi @dowson
It's expecting the "Email record object".
So it won't accept any other data types.
So as a first step, lookup the email record to get the latest email using the incident (trigger) reference.
Then pass that email as an input to the "Get email Header" action.
It'll work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2025 07:01 PM
Hello Dowson,
These so defined activity to get the email details.
Below step you need to perform.
1.Write a script to get email record(Glide record for sys_email table) details using run script and store the value of email header in the workflow_scractpad.
2.Utilized the email header action value in the require activity.
Supriya Waghmode |ServiceNow Consultant