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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / FILE PATH TO EXECUTE F...
Power Automate
Unanswered

FILE PATH TO EXECUTE FLOW WITH VIRTUAL MACHINE UNATTENDED

(0) ShareShare
ReportReport
Posted on by 296

Hello Community,

 

I'm using Power Automate Cloud and Power Automate Desktop.

 

How can I get the path of an Excel file that I download from a website, to "Launch Excel" in the PAD flow, with that I can get my Output Variable, to run the Power Automate Cloud flow with "Run a flow built with Power Automate for desktop" with a Virtual Machine Unattended Mode.

 

The file name is "exchange_suppliers_20220926_232657.xls", but the subtext "232657" always changes when downloading the file again from the website.

 

In the folder where I download the file is the only one there is, since I use a Virtual Machine.

I have the same question (0)
  • VJR Profile Picture
    7,635 on at
    Re: FILE PATH TO EXECUTE FLOW WITH VIRTUAL MACHINE UNATTENDED

    Hi @fgonzalez515 

     

    You can use Get files from that folder and sort by the last modified (or created date) and then the 0th element of the File List will be the recently downloaded one.

  • fgonzalez515 Profile Picture
    296 on at
    Re: FILE PATH TO EXECUTE FLOW WITH VIRTUAL MACHINE UNATTENDED

    Hi @VJR,

     

    When I run flow in Power Automate Cloud, it gives me this error.

     

    How can I solve that?

     

    fgonzalez515_0-1664326935400.png

     

    fgonzalez515_1-1664326960399.png

     

     

  • Verified answer
    VJR Profile Picture
    7,635 on at
    Re: FILE PATH TO EXECUTE FLOW WITH VIRTUAL MACHINE UNATTENDED

    To get any part of the filename or folder use-

     

    VJR_0-1664334274705.png

     

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard