-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
bugSomething isn't workingSomething isn't workingneeds reviewReview pendingReview pendingspring cleaningCould be cleaned up one dayCould be cleaned up one day
Description
Describe the Bug
This template is valid according to the schema even though there is no value for result variable:
{
"$schema": "./schema.json",
"name": "Reusable Rule Template",
"id": "io.camunda.examples.Decision",
"description": "A reusable rule template",
"version": 1,
"engines": {
"camunda": "^8.6"
},
"appliesTo": [
"bpmn:Task",
"bpmn:BusinessRuleTask"
],
"elementType": {
"value": "bpmn:BusinessRuleTask"
},
"properties": [
{
"type": "Hidden",
"value": "decision",
"binding": {
"type": "zeebe:calledDecision",
"property": "decisionId"
}
},
{
"type": "Hidden",
"binding": {
"type": "zeebe:calledDecision",
"property": "resultVariable"
}
}
]
}
The property does not work yet is valid according to the JSON schema.
Steps to Reproduce
- Try out the template above
Expected Behavior
Any Hidden
property should be invalid if it does not have value
or generatedId
unless it's a zeebe:userTask
binding.
Environment
- Host (Browser/Node version), if applicable: [e.g. MS Edge 18, Chrome 69, Node 10 LTS]
- OS: [e.g. Windows 7]
- Library version: [e.g. 0.3.0]
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds reviewReview pendingReview pendingspring cleaningCould be cleaned up one dayCould be cleaned up one day