Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Server Discussions

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

Workflow name versus workflow_id in API calls?

Hermancr
5 - Atom

I have created an analytic workflow with 2 questions. Currently to execute the workflow I have to use the workflow id.  Can I use the workflow name or another 'label' instead of the workflow id?  I understand that Swagger needs the workflow id. Using Alteryx Version: 2024.2.1.14 and Server API V3.

2 REPLIES 2
KGT
13 - Pulsar

You can have multiple workflows on the gallery with the same name and so you would not be able to use the Workflow Name. I do not know of any other way to call a workflow. 

craigja
11 - Bolide

Could you not query (via the API ) and get a list of all workflows and ID's - present the workflow name to the user, once selected, the workflow looks up the ID in order to call the workflow?