Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
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