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 Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Retrieving workflow xml from Gallery

obridgeman
7 - Meteor

We were wondering if it was possible to retrieve the workflows that are saved on the Gallery.

 

The reason for this is that there is a handy xml parser tool that allows you to parse the xml of an Alteryx workflow to give you tool details such as:

 

Input tool - [database where the data is coming from]

Formula tool - [what formulas are used]

Output tool - [database where the data is going]

 

The workflows that are saved on the Gallery however are stored in the MongoDB, but I assume that to download or run a workflow from the Gallery that there is a method of retrieving the workflow from the Mongo and converting it to its original form.

 

Does someone know the tool or method that is used to do this so that we might replicate it to pull off all of our workflows on the gallery and then analyse them using the above mentioned xml parser?

 

Many Thanks in advance.

 

Oli

24 REPLIES 24
BenMoss
ACE Emeritus
ACE Emeritus

From the workflow image you shared it looks like you are getting 4 rows of data coming out of the JSON parse, this seems way to low, and seems inline with a series of error messages which the API might return if your key is not correct. What values are you getting after the json response? I'm guessing nothing which indicates workflow ID's, names etc, and just error message rubbish.

 

Ben

sagarkharpude
7 - Meteor

I am getting below message at first API output: But there is nothing changed in the gallery link, Key, Secret, etc...

sagarkharpude_0-1587630051265.png

 

BenMoss
ACE Emeritus
ACE Emeritus

That's the problem then.

 

I know you say nothing has changed, but if you go into your profile in your gallery and just check your secret hasn't refreshed for whatever reason.

Apart from that I can't offer any more advice, you'll have to pick it up with support@alteryx.com if the secret key isn't correct.

 

But i'd advise trying to debug via the web console in your gallery first...

 

https://yourwebaddress/gallery/api-docs/ 

 

Ben

sagarkharpude
7 - Meteor

Hi Ben,

 

We /(Alteryx Support) are struggling with this since more than 2 months after upgrade. Before upgrade it was working as expected. If I set the limit of 500 then it's running fine and can download the 500 workflows. If I remove the limit then it's causing the problems.  

I would like to ask one question: If there are some corrupted workflows in Gallery then will it impact on this get and store workflow which is being used for workflow backup/recovery?

 

Thanks,

Sagar

sagarkharpude
7 - Meteor

Hi,

 

Since last week I am getting this error: 

Error - Alteryx: Alteryx_API_Runner (14): Tool #51: Error in libCURL Data Callback: Data too long to fit in field.  Write to a file instead.

 

Is there any limitation or could you please assist me here?

 

Thanks,

Sagar

 

 

Labels