Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Server Discussions

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

Would like to automate workflows

fiddycodes
8 - Asteroid

Hello, 

 

I'm looking for ideas on how to automate a series of workflows. I would like for a workflow to start as soon as a file is dropped into a folder and then subsequent workflows are run after that. 

 

The way I'm thinking about doing it: I have a python tool with the watchdog package installed to monitor folders for events. Once a file is dropped, I then call a function that runs a bat file that calls the AlteryxEngineCmd and runs a specific workflow. The workflow would be constantly running on Alteryx.

 

Using AlteryxEngineCmd would require the workflows to be saved locally though, right? Can I use AlteryxEngineCmd for workflows in Gallery? If not, any suggestions on getting this process fully automated?

1 REPLY 1
fmvizcaino
17 - Castor
17 - Castor

Hi @fiddycodes ,

 

Yes, using command line would require your workflow to be in a local folder. 

Another option is to have a python script + Gallery APIs to call a workflow.

https://help.alteryx.com/current/en/server/api-overview/alteryx-server-api-v3.html#alteryx-server-ap...

https://community.alteryx.com/t5/Engine-Works/Introducing-the-Alteryx-Server-v3-API/ba-p/899228

 

Best,

Fernando Vizcaino