Alteryx Server Discussions

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

Publish workflows to gallery through a script

rahuls
9 - Comet

Fellow fans,

 

Is it possible to publish a workflow to gallery through a script? Basically I want to publish the workflow as soon as I detect a change in the workflow file (i.e. last modified etc) . I would also want to replace the existing workflow on gallery with the latest one uploaded. 

 

Please let me know if anybody knows a workaround for this?

 

Thanks

3 REPLIES 3
JoeS
Alteryx
Alteryx

Hi @rahuls 

 

You would need to use the server API in order to do so.

 

Details can be found here: https://gallery.alteryx.com/api-docs/

 

It's a rest API, so you can choose your scripting language of choice.

 

Thanks

Joe

rahuls
9 - Comet

@JoeS :

Thanks for your reply. The link doesn't seem to talk about how to publish a workflow using the API and how to replace the previous version with new version on gallery. Is that possible?

 

Can you please direct me to that link/documentation?

JoeS
Alteryx
Alteryx

Hi @rahuls 

 

You could look to use the workflow migration functionality to do that.

 

There is more detail in this post: https://community.alteryx.com/t5/Alteryx-Server-Knowledge-Base/Migrating-Workflows/ta-p/335774

 

Thanks

Joe