community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

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

Check if folder exists before creating

Highlighted
Asteroid

Any suggestions on how to check to see if a folder exists before attempting to create it?

 

I noticed the Directory tool will not list folders that are empty when searching all folders, all files.

 

I have workflows that create folders but want to bypass folder creation if it is not needed.

 

Thanks in advance.

You can use a formula tool to check the existence of a folder:

FileExists([Field1])

This can then be filtered on before creating as needed 

Labels