Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

Extract inputs and outputs connection details from Workflows in the Gallery

Davide11
7 - Meteor

Hi, 

 

I have more than 100 Workflows in the Gallery and would like to extract all inputs and outputs details from everyone of them.

 

Is there anybody who could suggest how to proceed?

How can I download the XML of every workflows?

 

Thank you

 

 

 

 

3 REPLIES 3
gabrielvilella
14 - Magnetar

To download all workflows from the Server I encourage you to use APIs. Here are the endpoints you need:

  1. Lists all workflows, you can filter the ones you need: /admin/v1/workflows
  2. Download the package: /admin/v1/{appId}/package

Find more about Server APIs here: https://help.alteryx.com/developer-help/server-api-overview 

Davide11
7 - Meteor

Hi Gabriel,

 

once again, thak you for your inputs.

I have donwloaded all packages now, and unzipped them.

How would you recommend to move on now?

gabrielvilella
14 - Magnetar

Now that you have the files, you just need to read them. Create a workflow to read the YXMD as XML. You can use a Dynamic Input, build your own macro or use one that is available such as https://community.alteryx.com/t5/Community-Gallery/Read-Workflow-XML-from-an-YXZP-file/ta-p/925563