Skip to main content

We have a flow where we are comparing a case subject with a text string stored in custom metadata and exposed to the flow via a formula.   

 

If I just email in the case, there is a match. However, these emails are actually coming from Formstack and the email that comes from Formstack does not match. 

 

When you look at the strings, they are identical. When you debug and copy and paste the subject from the email that originated in Formstack, there is no match. When you debug and copy and paste the subject from an email you just send manually from Outlook, there is a match. 

 

I know this has something to do with encoding but we've tried some online tools and can't see any difference. Done the usual checks to see if any characters are slightly different (there is a dash in the subject) or if there are extra leading or trailing spaces - nada. 

 

Our next "fix" is to copy the subject from the email that originated from Formstack and paste it into the subject field in the custom metadata. The strangest (but promising thing) is that Azure actually does see there is a difference between the two strings but again, there is no visible difference. 

1 answer
  1. Apr 19, 2024, 9:24 PM
    Hello @Gail Hallett have you tried to trim both texts before comparison ? Have you tried to debug your text, get the debug trace when debugging your flow, and compare copied texts with a "diff checker / text compare"-like comparison application? Éric
0/9000