Alteryx Server Discussions

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

Prioritizing jobs on Server kicked off via Run Command tool

5 - Atom

Hello-

 

We have a daily refresh of a couple hundred workflows on server, most of which are dependent upon other workflows having completed first.  Every 5 minutes we run our "orchestrator" that evaluates which workflows haven't been run (or queue'd) yet AND which have their starting conditions met; it then kicks off those jobs via the Run Command tool.

 

Is there a way to indicate priority for workflows run this way, perhaps with a command argument?  There are certain jobs I'd like to put at the front of the queue when they're ready.

 

If not, I think as a workaround I can schedule them via Gallery (per the link below); my preference, though, would be to incorporate this prioritization in to the existing framework we have.

 

https://community.alteryx.com/t5/Alteryx-Server-Knowledge-Base/Job-Prioritization-and-Worker-Node-As...

 

Thanks!

Alteryx Certified Partner

Have you tried calling the workflows using the API? I have seen the setting for priority available.

 

https://gallery.alteryx.com/api-docs/#subscription

5 - Atom

Thanks, that's what I ended up doing.