Hi. I have a Filter array that successfully filters out a word from an incoming email, but it displays it with [" "] around it (per the top part of the attached image. The goal is to compare that string in between the [" "] with an output of a Compose action that is a filtered list from a List files in folder action.
The filter array expression that extracts the text I need from an email: and(startsWith(item(),'BC'),endsWith(item(),'JDF'))
The compose expression that gets a list of folder names from a target folder (big thanks to @v-yueyun-msft for working this out for me!): xpath( xml(json(concat('{"root":{"item":',outputs('List_files_in_folder')?['body/value'],'}}'))) , '/root/item[IsFolder="true"]/Name/text()')
A Condition action is then set up to see if the compose output contains the filter array output and give a yes/no if a match is found; it always returns a false result, even though there is a match. I think it's because it is comparing all of the characters in the filter array out, including the [" "], is that how it works?
Can anyone help with this? I thought I had this problem sorted out, but the method I planned to use doesn't work on an array..