Skip to content

Commit 1b8408a

Browse files
committed
fix: Added missing Naming Convention documentation section
1 parent 419e030 commit 1b8408a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

specification.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
* [Workflow Secrets](#workflow-secrets)
9898
* [Workflow Metadata](#workflow-metadata)
9999
* [Workflow Context](#workflow-context)
100+
* [Naming Convention](#naming-convention)
100101
- [Extensions](#extensions)
101102
- [Use Cases](#use-cases)
102103
- [Examples](#examples)
@@ -6197,6 +6198,12 @@ In this use case, a third-party service may require information from the caller
61976198

61986199
The specification doesn't define any specific variable within the `WORKFLOW` bucket, but it's considered a reserved keyword.
61996200

6201+
### Naming Convention
6202+
6203+
Identifiable components of a workflow definition, such as states, actions, branches, events and functions define a required non-null `name` property which follows the DNS label names as defined by [RFC 1123](https://datatracker.ietf.org/doc/html/rfc1123).
6204+
6205+
In other words, `names` must be lowercased, start and end with an alphanumeric character, and contain only alphanumeric characters or '-' (dash) character.
6206+
62006207
## Extensions
62016208

62026209
The workflow extension mechanism allows you to enhance your model definitions with additional information useful for

0 commit comments

Comments
 (0)