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
12 - Quasar

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
9 - Comet

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?