Free Trial

Alteryx Server Discussions

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

Specify Job Name in API call

SPetrie
13 - Pulsar

Hello all!

I have been looking around and cant quite find if this is possible to do with the API or not. 

Currently I have a workflow setup to schedule a gallery flow to run on demand using the V2 endpoint.

Because this flow runs quite often and can be used for different situations, I would like to dynamically set the name of the job when adding it to the server queue for easier identification.

My problem is I dont know how to (or if I can) do this.

If I run the flow directly from the gallery, I can set the job name manually as shown in my picture as "Test Job"

example.JPG

I would like to replicate that within my API call.

Can anyone help point me in the right direction?

2 REPLIES 2
fmvizcaino
17 - Castor
17 - Castor

Hey @SPetrie ,

 

Unfortunately, it is not possible. Hopefully, they will add this to the list of API endpoints, but you also could suggest this as an idea for the next releases. https://community.alteryx.com/t5/Alteryx-Server-Ideas/idb-p/server-ideas

 

Everything happening on the server is based on API endpoints. Some are hidden but you can still see them when inspecting the browser page and that is what I did. Sadly, the endpoint being used for triggering the job is a different one and required information we don`t actually have, but here is what I found.

Screenshot 2023-07-20 104834.png

 

I tried adding the jobname as a parameter on the v2 endpoint, while the job still runs, the renaming didn`t work 😔

 

Best regards,

Fernando Vizcaino

SPetrie
13 - Pulsar

@fmvizcaino , thanks for the response!

Not what I was hoping to hear, but I did get the feeling it was the case.

I also tried a few combination to see if I could populate the Job name but none worked.

I did take you advice and posted it as an idea.

Hopefully others also feel its a good idea so it can get implemented. :)