I’m doing something wrong here and I can’t figure out what. I have a csv file with a list of email addresses in it. I have a variable that has a single email address in it. If the email address appears in the csv file I want to do X, otherwise I want to do Y.
I’ve used Read Column in Excel to create a variable called VerfMail of type System.Collections.Generic.IEnumerable<System.Object>
I have a GenericValue variable called RequestorEmail
For the If statement, I’m using VerfMail.Contains(RequestorEmail), but this is always returning a FALSE - even if the email address appears in the list.
Is someone able to point me in the right direction please? Thanks in advance…