Hi there,
I am trying to find a way to build a workflow where my data is output to either an Excel or an Alteryx database but only if the file does not exist. Is there any way to conditionally execute the Output Data tool, but only if the file does not exist.
I have tried using the Directory tool and the FileExists function, but I am still not getting my desired results.
Ultimately, I am trying to append data to the same output file. Ideally, I would like to use an Alteryx database for this but you cannot append to an Alteryx database. I am trying the approach of using a SQLite file type (you can append to this) but if you try to configure the output using SQLite to Append Existing, you will get an error if the table does not currently exist.
Hopefully, this is not too confusing but if anyone has a solution of how to create a file using the Output Tool, but only if the file does not exist, that would be greatly appreciated!
Thanks in advance!