We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Check if folder exists before creating

rgusaas
8 - 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.

2 REPLIES 2
jdunkerley79
ACE Emeritus
ACE Emeritus

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 

Lumjing
8 - Asteroid

@jdunkerley79 Thanks this helps

Labels
Top Solution Authors