Alteryx Server Discussions

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

Back up Workflows on Gallery

Citauma
7 - Meteor

Hi there,

 

Currently we have 2 galleries we upload workflows to for testing and production.

 

How can we back-up all the workflows on the gallery? We want to be able to pull all the workflows down and save them locally. Is this possible.

3 REPLIES 3
patrick_mcauliffe
14 - Magnetar
14 - Magnetar

In the current version there isn't a bulk operation for a single user to pull down their workflows.

Maybe suggest it for an upcoming release?

https://community.alteryx.com/t5/Alteryx-Server-Ideas/idb-p/server-ideas

 

patrick_digan
17 - Castor
17 - Castor

@Citauma You could use the admin api. The api documentation is here: https://servername.domain.com/gallery/api-docs/#admin. The first endpoint in the picture will return the list of workflows, including the id. The id can be passed to the last endpoint in the picture to return the yxzp. 


Capture.PNG

I'm attaching a macro which should get you 99% of the way there. I used it to do exactly what you're describing. You may have to adjust the macro for your time zone if you're not in the eastern US. In formula (66) I'm making a 4 hour adjustment. You would need to adjust accordingly.

Janani_5791
5 - Atom

Hi, The link that is been provided is not working. Can you please brief on how to backup the workflows from the alteryx gallery automatically?