Alteryx Designer Desktop Discussions

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

Delete source files

DennyChan
8 - Asteroid

Hello

I have a process that Schedules files, through Alteryx, the files will need to be worked on once, is there a way to move / kill the source file once the process has completed

IE 
a file come into a folder (input file)
Alteryx does its thing
output the file, in another folder
then delete the input file

many thanks

Denny

 

1 REPLY 1
tom_montpool
12 - Quasar
Depending on what you're doing, I can think of a few ways to delete files once you're finished with them.
  1. Save the files to %Engine.TempFilePath% or %temp% -- see the help topic %temp% -- once your process is finished, the temp folders are automagically deleted
  2. Create a batch file that runs a command prompt/powershell delete on the list of input files and execute the batch file as an event or with the Run Command tool
  3. Similar to above, but put all the files to be deleted in a separate subfolder and delete the folder instead of the individual files.
Labels