Hi community, I trying to explore if we can generate the output dynamically without creating folder manually. I have data list whereby it contain week data and i have to create folder every first week manually folder and change the file directory for each output. May i know if we can adjust it in the alteryx without creating the folder manually , sometime i need to create folder monthly meaning 0625, 0725 and etc, and some data i need to save it weekly - 04082025, 11082025. Thank you.
The only way that I know how to do this is to use a Run Command tool to make the directory using a BAT file. You could definitely make this a lot better with a designated BAT format, but this is just a quick off the top of my head.
FileExists(Path) may also help in order to check if the directory is already there somehow.
You can build a folder using render tool.
How this will work is,
Hi @KGT ,
Thank you for the response and would like to ask if you have example worklfow for this? Would like to see how it work.
Thank you so much for the support.
@SH_94 a quick Google search will yield some workflows for you to try, like this one: https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Help-Using-Run-Command-tool-to...
Please try the suggestions from @KGT and @Gaurav_Dhama_ , and come to us with any errors along the way!
I don't have one handy. The suggestion by @Gaurav_Dhama_ is a good workaround as well.
As Alex mentioned, a search will yield several. There are several examples around on the community as well, such as this one: https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/My-run-command-batch-file-is-c...
User | Count |
---|---|
106 | |
82 | |
70 | |
54 | |
40 |