
Hello Power automate peeps,
I am currently trying to make a flow based on a manually clicked button which is intended to move a specific doc from one library to another library and specific folder within. The destination folder has the same name as the doc being moved, and files that are not pdf go to a separate library using the same conditions. This setup is not working and has continually received the error message "Failed to verify the existence of object at: site" which seems like there is a problem with the "file to move" and I have tried many different dynamic content "identifiers" in hopes that it can find the right one. I have verified that the problem is with the 'move file' function and not the previous commands.
I am quite new to this, so any advice on building the flow correctly or getting the function to do what I need would be greatly appreciated. I have attached images of the problematic flow and an error below. Thanks y'all.
@sarkana_varna You need to use the Identifier dynamic content in the Move File action.
There are a few more things you can adjust in your flow.
To get the extension only from the File name with extension dynamic content, use an expression and the split() function.
Click on the Dynamic content tab and insert the File name with extension dynamic content.
Add a comma and a period between single quotes. This expression will split the filename at the period. Returning an array of values. To return the last part of the array (which is the file extension) you need to wrap the entire expression in the last() function.
Press the Up arrow key to go to the start of the expression an enter last with an opening bracket.
Press the Down arrow key to go to the end of the expression and enter a closing bracket.
To avoid any case sensitivity issues, convert the file name to lower case with the toLower() function.
Click on the Dynamic content tab and insert the File name with extension dynamic content.
This is what your condition should look like.
If you'd like to level up your Power Automate skills check out this video: Power Automate Beginner Tips and Tricks | 5 Things You Need to Know – Part 1
I cover the following in this video tutorial:
✅ Power Automate Beginner Tips and Tricks
✅ Why use the Manual Trigger instead of an Automated Trigger
✅ 3 Ways a Compose Action can help you build better flows
✅ How to Manually Trigger a flow with a specific Date and Time
✅ How to return a count of items
✅ How to use the top count
✅ How to send test emails
Hope this helps!
| If I helped you solve your problem—please mark my post as a solution ✅. Consider giving me a 👍 if you liked my response! |