I'm trying to set up a workflow to allow a user to specify a filepath and filename (which may include any number of wildcard characters), and then determine whether that path/name combination matches any files. Ultimately the goal is to turn it into a macro.
I've tried -
File Input (regular or user-specified text) with a Formula tool to run a FileExists() command- This doesn't like wildcards.
Dir - Plays nice with wildcards. Requires a file template and that I specify the path and name parameters in the tool itself. It also won't convert to a macro.
Dynamic Input tool looks like it should help, but it requires a specific input template. That's not really in the parameters of the end goal.
I have to think that this would be fairly straightforward in a coding language like Pythonl I just haven't written out the script yet.
What's the best way to accomplish this sort of task in Alteryx?