Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Community Gallery

Create, download, and share user-built tools and workflows.
Looking for Alteryx built Add-Ons?

Easily shop verified, supported, and secure Partner and Alteryx built Add-Ons on Marketplace.

LEARN MORE
Comments
BS_THE_ANALYST
15 - Aurora
15 - Aurora

@Hiblet thanks a bunch for this! This is really useful 👏.

I guess it's worth pointing out that a user will need to ensure one of the following values is used on the main workflow for scanning subdirectories:
("TRUE","T","YES","Y","1")

BS_THE_ANALYST_0-1759484777765.png


@Hiblet, this part is useful to know:

"The Directory tool is a "root" tool and runs once before all your other tools, regardless of position in the workflow, so it would never see the files."

Have you played around with Control Containers much? At least this could change the execution order, should you need to force it 🤔.


Question: @Hiblet how do you think this tool would behave on Alteryx Server? 😊.

Again, awesome tool, and a very cool solution

All the best,
BS


 

Hiblet
10 - Fireball

Hi @BS_THE_ANALYST , Thanks for the feedback, good to know that this is useful to other folks.

I have not used Control Containers much, I must admit.  I think Alteryx sees root tools (the tools that start data streams with no input themselves) as things that should run first to generate records for other tools.  I shamelessly used ChatGPT to work out a solution to this, and it suggested a control parameter as a "kicker", just a passive control to make the tool wait for input, even if you don't use the passed in parameter.  Then I thought, if I am passing in a parameter I may as well use it.  That lead to 3 params and the tool you see there.

 

I see no reason why this tool would not work on Alteryx Server - famous last words.  The macro just wraps a standard tool, so it should be good.  I wanted to keep the macro open so people could see that it was simple and "vanilla".  Alteryx Server loves vanilla.

 

I have added a note in the text about the Sub-directories over-ride text value, good suggestion.

 

Good luck,

 

Steve