Alteryx Designer Desktop Discussions

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

There should be 10 files (can be of .txt/.csv/.xlsx) of the same schema in the directory.

shshank_shukla
5 - Atom

There should be 10 files (can be of .txt/.csv/.xlsx) of the same schema in the directory.


The idea is to consolidate all the data and write it to .csv with the source names. Catch is to pop an error and the workflow should stop executing the files are less than 10. In additon to that user should get a prompt about which file is missing.

2 REPLIES 2
jeff_reynolds
10 - Fireball

Try the attached workflow and file set-up. I've set everything to 'relative', so it should work once unzipped. If not, there are two places where you will need to update the dependency. 

 

In the 'Files' directory that we are testing, there are 10 files. So when first run, they open and get unioned. 

 

If you remove any of the 10 files in that folder, no union happens, and there's a spot that shows the user what file(s) are missing. 

 

I'm sure you'll want to modify as needed, but hopefully this points you in the right direction. 

 

Good luck. 

shshank_shukla
5 - Atom

Hi  

 

 

 

 

Labels