Alteryx Designer Desktop Discussions

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

Save output File the same location as the input file

iceshock
5 - Atom

Hi all.

 

I will be running the alteryxflow monthly and the input file will location will be different everytime (updated accordingly via creation date) . How can I overwrite the input file with the output file that I have produce on each alteryx run.

 

 

regards.

6 REPLIES 6
atcodedog05
22 - Nova
22 - Nova

Hi @iceshock 

 

Here is what you can do. 

Configure Input tool to get the full path

atcodedog05_1-1606196227441.png

It pulls in full path, filename and sheetname

atcodedog05_5-1606196413791.png

And in output tool configure it to change path based on filename.

atcodedog05_3-1606196290733.png

Make sure output option is overwrite.

atcodedog05_4-1606196353003.png

Hope this helps 🙂 Feel to ask if you have any questions


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

atcodedog05
22 - Nova
22 - Nova

_

iceshock
5 - Atom

iceshock_0-1606201365732.png


hi,

 

may i check with you, if i were to have this workflow to pick up the latest file via creation date, how should i go about configuring to attain a similar workflow as yours? 

 

atcodedog05
22 - Nova
22 - Nova

Hi @iceshock 

 

In the first formula tool you are creating the file full path to load it into dynamic tool to read.

 

So what you can do is, you can use an append tool to join back the file path after dynamic tool. And take it forward till the output tool.

 

https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Tool-Mastery-Append-Fields/ta-p/874...

 

Hope this helps 🙂

iceshock
5 - Atom

ty so much. it really helps

atcodedog05
22 - Nova
22 - Nova

Happy to help 🙂 @iceshock 

 

Cheers and Happy Analyzing 😀

 

Feel free to reach out if you face any issues 🙂

Labels