Workflow name versus workflow_id in API calls?
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Hermancr
5 - Atom
‎01-27-2025
07:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
Labels:
- Labels:
- API
2 REPLIES 2
KGT
12 - Quasar
‎01-27-2025
08:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
10 - Fireball
‎01-28-2025
01:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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?
