I want to look into a folder with all of my Alteryx workflows and detail all of the input dependencies within those workflows.
Alteryx workflows are stored as XML files (.yxmd, .yxmc, .yxwz). Each tool and its configuration is represented in XML tags. Input tools typically have tags like:
Exemple :<GuiSettings><File>path_to_file.xlsx</File></GuiSettings>
So the steps are:
1. Scan the folder for all .yxmd, .yxmc, .yxwz files.
2.Parse each XML file and look for:
- <File> tags (Excel, CSV, etc.)- Database connection strings (often in <Connection> or <Password> tags)- Other input sources (API endpoints, etc.)
3. Aggregate results into a report (CSV or Excel) with:
- Workflow name- Full path- Input type (File, Database, etc.)- Input location/path
You can read your Alteryx workflow with Alteryx as a text file (CSV without the delimiter '\0'), then filter on the tags you want to extract.
You can use a Directory tool to read all your XML files via this tool: https://help.alteryx.com/current/en/designer/tools/parse/workflow-xml-parser-tool.html
Save the workflows in a separate folder and convert them from .yxmd (or .yxmc/.yxwz) to xml files via cmd, then use a Directory tool to call in, batch the process with the tool above. Then parse what you need from there with keywords like "Input" etc.
@caltang Hello,your response was very constructive. I would like to know which CMD command can be used to convert an Alteryx workflow into an XML file