Hello,
I want to make a flow, that says:
"If i move a file to a folder, and there already is a file containing part of the name, move the old file to a different folder"
But i am having trouble with doing the containing. All the files is named by their name + det approval request date, and therefore it should only be the documentname (and not the date) that is identical.

I have tried some different things, also considered to make a seperate flow, but it does not seem to work for me
Is anyone having some ideas of how i should build this?
Thank you in advance!
Emilie