- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2022 08:07 AM
I am attempting to use a very simple IF statement condition on a subject of an email to look for a word in the subject.
- I have tried using the contains operator on the entire subject and that wasn't working. (see print screens)
- I then tried trimming and creating a substring of the subject to simply grab the first 3 characters and compare that, which also isn't working. (see print screen)
I think the Flow designer has a bug in it when working with Strings......or am I missing something?
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2022 09:54 AM
Just a thought. Can you have flow variable called "email_subject". Read the Email subject in to the flow var and then see if that works.
Vinod Kumar Kachineni
Community Rising Star 2022
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2022 08:32 AM
Replying to my post with some additional thought.
It could be that the subject field is of string_full_utf8 type and the flow designer is comparing to a String type.
I have tried using the "Headers" field which is of type String and the "contains" operator does seem to evaluate correctly now.
This would lead me to believe that fields of type full_string_utf8 can't be used in IF conditions in the flow designer since they don't evaluate against Strings correctly.....anyone else come across this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2022 09:54 AM
Just a thought. Can you have flow variable called "email_subject". Read the Email subject in to the flow var and then see if that works.
Vinod Kumar Kachineni
Community Rising Star 2022