document property is a required component that documents the workflow definition, providing essential metadata about the workflow’s identity, version, and purpose.
Properties
The version of the DSL used to define the workflow.Example:
'1.0.3'The workflow’s namespace.Namespaces provide logical grouping and organization for workflows.
The workflow’s name.This name uniquely identifies the workflow within its namespace.
The workflow’s semantic version.Must follow semantic versioning format (e.g.,
'0.1.0', '1.2.3').The workflow’s title.A human-readable title for the workflow, typically used for display purposes.
The workflow’s Markdown summary.Supports full Markdown formatting for rich documentation.
A key/value mapping of the workflow’s tags, if any.Tags can be used for categorization, filtering, and metadata purposes.
Additional information about the workflow.Can contain any arbitrary metadata relevant to the workflow.
Examples
Basic Document
Document with Full Metadata
Namespace Organization
Namespaces help organize workflows by domain, team, or environment:Usage Notes
- The
documentproperty is required for all workflows - The combination of
namespace,name, andversionshould uniquely identify a workflow - Use semantic versioning to track workflow changes over time
- The
summaryfield supports Markdown, making it ideal for comprehensive documentation - Tags and metadata provide flexible ways to add custom information to workflows