Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Below is a template for a [Questionnaire](https://www.hl7.org/fhir/R4/questionna
```xml
<Questionnaire xmlns="http://hl7.org/fhir">
<meta>
<profile value="http://dsf.dev/fhir/StructureDefinition/questionnaire"/>
<profile value="http://dsf.dev/fhir/StructureDefinition/questionnaire|2.0.0"/>
<tag>
<system value="http://dsf.dev/fhir/CodeSystem/read-access-tag"/>
<code value="ALL"/>
Expand Down
22 changes: 22 additions & 0 deletions docs/src/process-development/linter-tool/validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,28 @@ The linter performs comprehensive validation on BPMN 2.0 process definitions usi
- The process engine only deploys and executes processes marked as executable
- Non-executable processes are typically used for documentation or as templates

##### Process Version Tag Validation

- **Requirement**:
- Process must define `camunda:versionTag`
- Expected placeholder value in DSF process plugins: `#{version}`
- Error: `BPMN_PROCESS_VERSION_TAG_MISSING_OR_EMPTY` (missing, empty/blank, or literal `"null"`)
- Warning: `BPMN_PROCESS_VERSION_TAG_NO_PLACEHOLDER` (present but without `#{version}`)
- Success: `SUCCESS` when `camunda:versionTag` contains `#{version}`

- **Valid Example**:
- ✅ `<process id="example_process" isExecutable="true" camunda:versionTag="#{version}">`

- **Error Examples**:
- ❌ `<process id="example_process" isExecutable="true">` (missing `camunda:versionTag`)
- ❌ `<process id="example_process" isExecutable="true" camunda:versionTag="">` (empty value)
- ❌ `<process id="example_process" isExecutable="true" camunda:versionTag="null">` (literal `null`)

- **Warning Examples**:
- ⚠️ `<process id="example_process" isExecutable="true" camunda:versionTag="1.0.0">`
- ⚠️ `<process id="example_process" isExecutable="true" camunda:versionTag="some-fixed-version">`


#### Task Validation

##### Service Tasks
Expand Down