Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Creating a File if it doesn't exist in directory. Otherwise, overwriting if it does exist.

christianarms24
5 - Atom

I am attempting to make my workflow dynamic when outputting by creating the file if doesn't exist in my file directory. Otherwise, I want it to overwrite if it does exist. How do I got about doing this? 

1 REPLY 1
DataNath
17 - Castor
17 - Castor

Hey @christianarms24, in the Output Data tool - for a lot of file formats the 3rd configuration option is for 'Output Options'. If this is present, there'll be an Overwrite option. Depending on the file type, this will be something along the lines of 'Overwrite File (Remove)' or 'Overwrite File (Or create if doesn't exist)', so use these. If there is no configuration there for your file type then I believe it'll overwrite by default, like a .yxdb.

Labels
Top Solution Authors