I have the following problem:
I have a list on sharepoint (called ListA) with the following data in it:
Procedure Number | Product | Filename | Filename created |
123456 | Testproduct | 123456_theFilename.pdf | Yes |
458725 | Testproduct2 | 458725_theFilename.pdf | No |
And I also have a sharepoint library with different files in it that are all named like this:
123456.pdf
458725.pdf
Now I want to create a flow that changes the name from 123456.pdf to 123456_theFilename.pd once the Yes/No column in the list is changed from No to Yes. Now I think I know how to trigger the flow. I used the following:
![]()

Now hoe do I do the rest?
I searched various tips and forums and I figured at the moment there is no 'elegant' way to change a file name.
You have to create a new file and delete the old one as I understand it.
But how do I make sure that I change only the file with the name corresponding to the procedure number?
I tried the following but it didn't seem to work.

![]()
Also I am having trouble with changing the file name...
Can anyone help me with this?
Thanks in advance! 🙂