In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
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?