Good morning guys, I have a problem with my flow. Despite connecting the action to replace part of the Directory path it is not working.
The replace should replace the term "Semana 26" with "Semana 28", but the flow remains running the way it originally was in the Directory.
Can anyone help me with my error?
Solved! Go to Solution.
Hi @Cpirino
In order for the action tool to work, you actually need another interface tool connected to it telling it what to do. See these articles for help:
https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Tool-Mastery-Action/ta-p/35500
In what situations do you want 28 vs 26?
The path that I want pass to Directory change in according with current week. "Semana" is "week" in portuguese. So I need change the path depending the current week.
@Cpirino Are you looking for user input here to use in an app or macro or are you simply looking for a way to get files from a dynamic folder path? If the answer is the latter, you could instead input the folder path up until "2022" in the directory tool and select the check box for "Include Subdirectories" then use a filter to keep only the files from the folder you want (i.e. the folders from the correct/dynamic week number). Something like the below expression should work in a filter tool to check if the FullPath field contains the strings you're looking for. Feel free to update to fit your needs. Try this out and see if it is helpful.
contains([FullPath], "Semana " + tostring(DateTimeFormat(DateTimeToday(),"%U"))) && contains([FullPath], "\Carteiras\Validadas")
User | Count |
---|---|
17 | |
15 | |
15 | |
8 | |
6 |