|
Hello, I've tried to map one of the existing processes I have into OpenWorkflow doc, and then I got this error: So, we can't use underscores nor hyphens, and only allowed to have 64 chars for names. what is the reason ? |
Replies: 2 comments
|
This restriction exists because The 63-character limit comes from the DNS label limit defined by RFC 1035. Underscores are excluded because they are not valid in hostname-style DNS labels, while hyphens are allowed internally, but not as the first or last character. This avoids ambiguous transformations and collisions such as both As with Kubernetes, rejecting invalid identifiers early guarantees portability and deterministic behavior. Human-readable names are not lost: Open Workflow provides |
|
@cdavernas , thank you for you time and the answer. if my POC were approved, I will create a transformation tool to normalize our Processes and Task names, since we use underscore everywhere. |
This restriction exists because
document.nameis a machine identifier, not a display label. It is deliberately constrained to a DNS-label-compatible format so that the same workflow name can be safely reused across runtimes, registries, URLs, Kubernetes resources, service discovery, and other infrastructure without each implementation inventing its own escaping or normalization rules.The 63-character limit comes from the DNS label limit defined by RFC 1035. Underscores are excluded because they are not valid in hostname-style DNS labels, while hyphens are allowed internally, but not as the first or last character. This avoids ambiguous transformations and collisions such as both
payment_…