Alteryx Designer Desktop Discussions

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

Create new folder and add output file

GvdHeiden
5 - Atom

Hi All,

 

I am trying to create a new folder in a dynamically pathed directory and write output to this new folder. However, Alteryx doesn't recognize that the folder is created in the workflow. Giving an error that it cannot access the newly created folder.

GvdHeiden_2-1655307328870.png

 

The alteryx flow does create the folder, and after running the workflow again Alteryx adds the output file as it is able to find the new folder.

So far I have tried to put a 'sleep timer' on the workflow, which didn't help.

 

Do you know a way to resolve this issue and add the file to the newly created folder?

 

I added an example flow in the disclosure.

 

 

10 REPLIES 10
PhilipMannering
16 - Nebula
16 - Nebula

The command that's running is,

if not exist "C:\Users\Philip\Downloads\New Folder" mkdir "C:\Users\Philip\Downloads\New Folder"

(with your username instead of `Philip`)

 

You could try running this command in the command prompt. (Hit the start menu, type "cmd" and hit enter). If it doesn't work there then it's not going to work in the Run Command Tool either.

Labels