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 / Using operators in a c...
Power Automate
Unanswered

Using operators in a custom selector

(0) ShareShare
ReportReport
Posted on by 2

Dear Community,

New to  Power Automate. Desktop. I have a Flow (used Recorder) in which uploads the files to One Drive with .yar from particular folder.  For example, File_1.yar  is uploaded.  It works!  The files in this folder particular  copied from another software. So, after some time it will have File_2.yar,  File_3.yar  and  so on.  

 

Question is, is it possible to use customer selector Regular expression match i.e.  *.yar. (file extension is .yar) or Ends with.

 If understand correctly, this will fulfil the  condition - Flow (File upload) to should run/repeat  until any files in the folder with .yar extension.  So, how to change the current Flow, which is works for only one File_1.yar

Am i missing anything? Any suggestions /ideas highly useful.  Thanks 🙂

I have the same question (0)
  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Why exactly are you using custom selectors here anyway? You don't need a user interface to work with files. You should just use Get files in folder to get your file(s) and then use Move file(s) to move them (or Copy file(s) to copy, if you want to keep a version locally) if you have the OneDrive app installed on your machine, which means you also have the directory created by the app on your local machine, that is synced to the cloud. All you need to do is move/copy the file between directories and the app will take care of the sync.

     

    If you are trying to upload the file via the browser interface, you should just provide a path to the "Open" dialog of your browser when you select a file to upload. Again, no need to use a custom selector relating to the actual file.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • chandras002 Profile Picture
    2 on at

    Hi Agnius,  

    yes, i am trying to upload to similar to One Drive via the browser interface. Why? need to use a custom selector? 

    correct. Custom selector may not be correct one.  Now, the question is how to give condition to Power Automate, as long as there is any. yar file extension in the target folder, it should upload but do not repeat already uploaded files?  Can use Recorder options? another trick part here, each upload needs to be right clicked and copy and paste the File name on the browser interface. Hope i have explained the issue clearly?

    Please advise on this regard? can we program using "variable" options?

     

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 953

#2
Valantis Profile Picture

Valantis 810

#3
Haque Profile Picture

Haque 622

Last 30 days Overall leaderboard