I got around to fixing 2.0 version which had absolute path issues that required linking macros back up. Thanks Wayne at Alteryx for testing.
The problem:
I create a lot of workflows (800 and counting) and often need to find workflows that created a specific yxdb or csv file. Or I need to find all workflows that use a specific tool - like the Download Tool(eg xml = download.download), so I can remember how I set it up for a API so I can use in another service.
The Need:
Crawl all my directories with yxmd/mc files and then search the filename and file xml for keywords.
The Solution:
This workflow takes the path(s) you specify and creates a list(via .bat file - eg windows only) of all your yxmd/mc Files/Paths and then runs through a batch macro to look for the keyword you are searching and returns the file name and path so you can copy and open to get on with your business.
There are 3 inputs:
Once enter your information: RUN to see your results by
Some notes on searching for a tool in a workflow.
If I search for "download" - it pickups a path with folder download
<Field name="C:\Users\Anthony\Downloads\FInder Temp Rebuild\AFind_N_YX_Files.yxmc" size="254" source="File: C:\Users\Anthony\Downloads\FInder Temp Rebuild\YXM_listOfPathReport.csv" type="V_String" />
This is the actual download tool name
<GuiSettings·Plugin="AlteryxConnectorGui.Download.Download">
To look up in xml, either just open your yxmd file in a text editor and try to find what it is, or create a temp workflow with that tool and look at xml in configuration for the workflow (I think you must turn on xml in users settings for it to show up in conf section)
Hopefully you find this useful as it was a pita to setup with relative paths and export into a file for others to use ;)
APPENDIX
I added a bat file output to diagnose issues and if you want to see what is creating the list of files.
If you run into issues, you can run each line in a CMD to see which line is causing errors.
Random notes on creating this package workbook.
I had all kind of issues getting this to work for various reasons.
Solved! Go to Solution.
I agree with previous replies, this is a GREAT tool! I'm such a newb, I had to ask Alteryx support for help, I had to re-download and start from scratch.
So... as a newb, I'm just wondering why you didn't replace the question tool with the tool mentioned and re-upload?
Thx again!
Basically it is pain in the arse to package up nested macros with relative paths so I have not made the effort to fix it for the community. It works on my machine :)
I would love a workflow that does the exact things you listed, with one addition, I'd also like to list the macros in each workflow.
can you use this on your gallery?
I'm also getting this error:
Look at previous pages - explains how to fix the macro that is causing the error.
This new workflow allows you to download all workflows from the Server, then search through the XML for any term found in the workflow:
Search Gallery Workflows for Connections, Files, Queries, Tools and More
Does this workflow work for v2022.3 and above. I am getting this error.
The field "Count" is missing. Compare the tool configuration with the input stream.
Unfortunately, this is not working for me.