In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Engine Works

Under the hood of Alteryx: tips, tricks and how-tos.
GBO95
Alteryx
Alteryx

Working in Designer provides great visibility on the data process. Any user can open a workflow and get a quick understanding of what other analysts have done.

 

However, there may be times when the audit department or a third-party audit company wants to audit the workflows and analyze all the tools and configurations used in the workflows. We can accomplish this in Alteryx by using the attached macro, which will output a list of all tools and respective configurations in a neatly formatted table for record-keeping purposes.

 

The trick is to read in an Alteryx workflow (.yxmd) as a text file.

 

1. Use the input tool and navigate to your folder with the workflow you wish to audit.

 

2. Make sure to select “All Data Files” as file type and type in the name of our workflow. (Note: You will not be able to view the workflow in the folder browse window.)

 

 

1.png

 

 

3. Read in as comma separated values with the delimiter “/n”

 

 

2.png

 

 

4. Your workflow will be read in as xml codes.

 

The macro attached to this article does all the above for you and parses the xml codes to give the following output.

 

3.png

 

4.png

 

 

Note: The attached macro does not extract configuration information of macros used in a workflow. This macro has been reconfigured from “Sample Workflows → Use scripting and automation tools → Build a Macro → Identify tools and macros used in a workflow” to include the settings of the tools in the output.

 

Comments