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.
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.
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.