In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

how to extract the most current file in a folder

cstafford
8 - Asteroid

I have a file that is created each day with the date added to the filename; I want to grab the most current file every time another workflow is run. Is their a tool that will help with this process.

4 REPLIES 4
geraldo
13 - Pulsar

@cstafford 

 

a workflow with a first step to extract the file name

alexnajm
19 - Altair
19 - Altair

A Directory tool will read a list of files from a folder, then you can use a Sort and Sample to get the most recent file, and finally a Dynamic Input can take that full path and read in the data.

 

Try out this article: How to dynamically run the most recent file in a file folder - Alteryx Community

cstafford
8 - Asteroid

This is what I was looking for. I had executed this once before but I just could not remember how or the WF I created this in.

Neurolytical
5 - Atom

This was so helpful, thank you for sharing!

Labels
Top Solution Authors