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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Action "Get File Path ...
Power Automate
Unanswered

Action "Get File Path Part" returns empty variables

(0) ShareShare
ReportReport
Posted on by 41

Using PAD, I found an action called "Get File path part" which seems like it will parse the user input string for me. That's great! However, the variables it returns are empty. Not sure how to proceed. Please see below...On the bottom right corner, you'll see that the UserInput variable is populated with a UNC file path. The variables are empty though. How do I proceed?

 

PAD - parse file.jpg

I have the same question (0)
  • Henrik_M Profile Picture
    2,021 Super User 2024 Season 1 on at

    Did you include the filename WITH extension?

  • treddfw Profile Picture
    41 on at

    Yes, I've tried both UNC network path and file from my laptop. In both cases, the action variables produced are blank.

     

    \\tfs.Toyota.com\Support Programs\Split Pages\Colorado Rain 2021  SurplusAvail_$1,971.93.pdf

     

    C:\Users\timr2\Documents\Junky Workspace Test\QFRT Master\BayLine~  3,873.17.pdf

  • VJR Profile Picture
    7,635 on at

    Hi @treddfw 

     

    That's strange to see because it gives me the desired output for the same inputs as yours.

     

    VJR_0-1638241499004.png

     

     

    Worked fine even for the network path

     

    VJR_1-1638241591257.png

     

    I am using PAD version 2.12

    One thing I would like to tell you is that members on the forum are facing issues with 2.14 version for various features and one of them is related to actions for files and folders.

     

  • treddfw Profile Picture
    41 on at

    Thanks for the heads up and for testing. I think it has something to do with having to escape the "$" and other non-regular characters. For now, I'm moving forward as a limitation of my flow and will come back to this at a later time.

    Thanks again.

  • VJR Profile Picture
    7,635 on at

    But the same escape character worked as seen in my screenshots :). So could possibly be a version issue.

    Will hear back from you what you came up with.

    Good day!

  • Highboy Profile Picture
    1,187 Super User 2024 Season 1 on at

    Works in 2.14
    But if it for some reason can't find the file, it will return an empty result.
    Did NOT "escape" the $ or the ~ in my test.

     

  • VJR Profile Picture
    7,635 on at

    I don't even have these paths on my machine but yet the action returned the correct results.

     

    So its not even the situation that the file should be present on the machine.

     

    Want to know @treddfw what is it in your case so that any other member facing the same issue in future can be pointed out to your fix in this post :).

     

    VJR_0-1638266601965.png

     

  • treddfw Profile Picture
    41 on at

    I'm using version 2.14.217.21314

    The action works fine on files/folders where there are no unusual characters. I see this as an edge case as most of the folders/files I've reviewed don't have anything but letters, numbers and spaces. I must move forward with other tasks.

    However, I greatly appreciate the help! I'm new to using PAD and glad to be a new member of this supportive group.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 538

Last 30 days Overall leaderboard