web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / error on move a onedri...
Power Automate
Unanswered

error on move a onedrive file to another directory

(0) ShareShare
ReportReport
Posted on by 7

hello 🙂

 

i want to move a one drive for business file to another directory if this file starts with "2021"

I created a flow but this flow fails:

 

flo1994_0-1635967117996.pngflo1994_1-1635967152860.png

 

What can i do? 🙂

 

Thank you so much!

 

Best Regards

Florian

 

Categories:
I have the same question (0)
  • MarvinBangert Profile Picture
    1,924 Most Valuable Professional on at

    Hey @flo1994 

    the error message just means that your value 2021 needs some quotes (") like: "2021".

    The second problem will be, that the File name is not in clear text, but encoded. You can see this if you click on "Zum herunterladen klicken" within your trigger.

    To actually get the correct file name, add another action "Get file metadata using path" and add the dynamic value "file path", then use the dynamic value "Name" of this action to compare it to your "2021".

    MarvinBangert_0-1635982146587.png

     

    Best regards
    Marvin

    If you like this post, give a Thumbs up. If it solved your request, Mark it as a Solution to enable other users to find it.

    Blog: Cloudkumpel

  • flo1994 Profile Picture
    7 on at

    @MarvinBangertThank you so much

    I implemented your solution:

    flo1994_1-1636041710462.png

     

     

    But now i get this error:

     

    flo1994_0-1636041650961.png

     

    Thanks in advance 🙂

     

    Best Regards 

    Florian

     

  • MarvinBangert Profile Picture
    1,924 Most Valuable Professional on at

    Hey @flo1994 

    please use the file identifier (dynamic value) instead of the the file name.

     

    Does this help you? Otherwise please give me some more information.

    Best regards
    Marvin

    If you like this post, give a Thumbs up. If it solved your request, Mark it as a Solution to enable other users to find it.

    Blog: Cloudkumpel

  • flo1994 Profile Picture
    7 on at

    @MarvinBangert Habe in deinem Blog gesehen, du sprichst deutsch 😉

     

    Habe jetzt den file identifier verwendet. 

    flo1994_0-1636043028136.png

     

    Flow läuft erfolgreich durch. Ich habe per Microsoft Lens App eine PDF eingescannt mit dem Namen 2021. Allerdings ist jetzt in dem Ergebnis des Flows folgendes ersichtlich:

     

    flo1994_1-1636043449260.png

     

     

    Sieht für mich so aus, als ob die Condition jetzt False ist obwohl der Dateinamen "2021" enthält.

     

    Möchte eigentlich nur für meine digitale Ablage erreichen, dass eingescannte Dokumente mit dem jeweiligen Dateinamen (Tag) Direkt in einen Ordner verschoben werden, um so meinen gesamten Briefverkehr digitalisieren zu können.

     

    Besten Dank für eine Antwort!

     

    Beste Grüße

    Florian

  • Verified answer
    MarvinBangert Profile Picture
    1,924 Most Valuable Professional on at

    Hi @flo1994,

    to also enable other people to help with similar problems, I would ask you to write in English. If you need other assistance, feel free to send me a private message, so we can also write in German. I hope you understand, that I will reply in English.

     

    Please check your Condition again. You are comparing the "File identifier" (which is basically just some random GUID) with 2021. Please change this to "Name" (from action "Get file metadata using path") and put the other side into double quotes like "2021".

    Then give it another try.

     

    Does this help you? Otherwise please give me some more information.

    Best regards
    Marvin

    If you like this post, give a Thumbs up. If it solved your request, Mark it as a Solution to enable other users to find it.

    Blog: Cloudkumpel

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard