for cli tools and automation scripting I want to avoid uuid's when possible.
Workflows should have a slug generated from their name, I propose that they simply take the workflow's name replace " " to "-" and strip all url unfriendly characters. in the event of a slug collision either fail to create the workflow or append the first uuid chunk to the end. For example: if you have two workflows are named test, the first's slug would be test the second's slug would be test-2b64228a. You could just alway append the first uuid chunk to the name.
The workflow's name becomes cosmetic, the uuid/slug is used by the api/clients with the slug being used to map human readable IDs to workflows.
for cli tools and automation scripting I want to avoid uuid's when possible.
Workflows should have a slug generated from their name, I propose that they simply take the workflow's name replace
" "to"-"and strip all url unfriendly characters. in the event of a slug collision either fail to create the workflow or append the first uuid chunk to the end. For example: if you have two workflows are namedtest, the first's slug would betestthe second's slug would betest-2b64228a. You could just alway append the first uuid chunk to the name.The workflow's name becomes cosmetic, the uuid/slug is used by the api/clients with the slug being used to map human readable IDs to workflows.