Alteryx Server Discussions

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

Workflow priority updated using API

skuppayy
5 - Atom

Hi,

We are running a workflow which is being trigged using python request method through gallery API using default low priority. We are planning to increase the priority to 2. So, we are sending priority parameter as '2' using Json.

After successful execution, we used gallery url to get the all the job run for my app id. As seen in the response body in the screenshot below, the priority in the response says 2

 

skuppayy_0-1641832755367.png

 

But to confirm the priority settings, we had also set up an event to get the output log using below options.

skuppayy_1-1641833362431.png

 

After running the event, the output log still says "Running at low priority" even though the response says priority as 2.

skuppayy_2-1641833460456.png

 

Can you please suggest why the logs says low priority even though response says priority as 2.

 

Thanks

 

 

1 REPLY 1
jessarthur
7 - Meteor

It looks like you are using numbers to pass priority instead of the required string value. Try using one of these values: 'Low' or 'Medium' or 'High' or 'Critical' or 'Default'. Details outlined in the API documentation here.