Parsing Email body in flow designer OOTB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2024 05:58 AM
I recently tried to use OOTB functionality in flow designer but i cant see to get the values im looking for into my catalog variables.
I have a trigger condition for a inbound email in flow designer
I then try to submit a catalog item and populate variables but it always returns false instead of the values.
Below is what it appears like in the description of the RITM when i put the body into the description.
Person Number 604731
Effective 12/31/24
Termination Details
Name
Sean Connery
Legal Employer
Spy Corporation
Notification Date
12/16/24
Termination Date
12/31/24
Revoke User Access
After termination
Recommended for Rehire
Yes
Approvers
12/17/24 6:56 AM
Approved by Workflow System
12/17/24 6:56 AM
Submitted by John Smith
Can i pull the date into the term date variable? i tried a few ways and still no luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2024 06:10 AM
seems your email body has the date on next line
are you using a custom action to parse and get because I could see the Transform function
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2024 06:36 AM - edited 12-17-2024 06:42 AM
Its not a custom script The parse action is there i tried using this but it didnt work either. The format of the email cant be changed so im stuck trying to figure out a solution to this one and im still at a loss trying the parse email body from the community. I do have the parse email body action but i cant get any values from it
@Ankur Bawiskar wrote:seems your email body has the date on next line
are you using a custom action to parse and get because I could see the Transform function
If my response helped please mark it correct and close the thread so that it benefits future readers.
@Ankur Bawiskar wrote:seems your email body has the date on next line
are you using a custom action to parse and get because I could see the Transform function
If my response helped please mark it correct and close the thread so that it benefits future readers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2024 06:44 AM
seems that's the issue then it looks for the value in same line but the email body has it on new line
did you try to use string manipulation and extract the date and then set?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2024 06:50 AM
Not yet, not really sure how to do that as i normally use OOTB if possible. Ill do some research and give that a try thank you sir.