I am trying to find a way to download all of the Alteryx flows from our gallery to a network drive so that I can then read the XML of the workflow and look for the usage of connections, macros, etc. What is the best way to accomplish this and / or read the workflow XML from the Mongo database that contains the workflow definitions? We have over 300 flows in our gallery, so downloading them manually is not an option. Thanks.
Hi @DataJMoe one way you can tackle this is using the Server API to downloads all the workflows to a network drive. There are some tools on the Alteryx market place that you may find useful.
Server API Tool
https://marketplace.alteryx.com/en-US/apps/418052/server-api-tool
Workflow Migration
https://marketplace.alteryx.com/en-US/apps/421688/workflow-migration
Thanks Joseph. I have (and am using the Server API Tool) to retrieve all of the workflows, using the workflow API, but can't find any of the outputs that output the XML definition of the workflows. That is the part that I am hoping someone in the community has done and is able to provide some guidance on.
Hi @DataJMoe have a look at this link. Once you download all the workflows into a network drive they will typically be a Alteryx package which is essentially a Zip folder. Therefore you have to unpackage every workflow. Then you have to read the XML of each workflow. You can do this via a Input Data Tool typically you create a batch macro to read all workflows and see the XML of each workflow.
@JosephSerpis I'm in the process of evaluating each WF on the Gallery and have downloaded all of them but as you mentioned they come across as an Alteryx package. We have quite a few WFs, do you know if there is a way to unpackage them all without having to open each one individually?
Hi @BonusCup you can use Run Command to unzip the workflows as a Alteryx package is essentially a Zip folder.
User | Count |
---|---|
107 | |
82 | |
70 | |
54 | |
40 |