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.

3 REPLIES 3
geraldo
13 - Pulsar

@cstafford 

 

a workflow with a first step to extract the file name

alexnajm
17 - Castor
17 - Castor

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.

Labels
Top Solution Authors