-
Notifications
You must be signed in to change notification settings - Fork 488
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add number and boolean template for dev setup
- Loading branch information
Showing
1 changed file
with
90 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
|
||
{ | ||
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json", | ||
"name": "Number and Boolean fields", | ||
"id": "io.camunda.examples.numberAndBoolean", | ||
"description": "A task using Number and Boolean fields", | ||
"appliesTo": [ | ||
"bpmn:ServiceTask" | ||
], | ||
"properties": [ | ||
{ | ||
"id": "number-static", | ||
"type": "Number", | ||
"value": "100", | ||
"label": "number-static", | ||
"binding": { | ||
"name": "number-static", | ||
"type": "zeebe:property" | ||
}, | ||
"feel": "static" | ||
}, | ||
{ | ||
"id": "boolean-static", | ||
"type": "Boolean", | ||
"value": true, | ||
"label": "boolean-static", | ||
"binding": { | ||
"name": "boolean-static", | ||
"type": "zeebe:property" | ||
}, | ||
"feel": "static" | ||
}, | ||
{ | ||
"id": "number-optional", | ||
"type": "Number", | ||
"value": "100", | ||
"label": "number-optional", | ||
"binding": { | ||
"name": "number-optional", | ||
"type": "zeebe:property" | ||
}, | ||
"feel": "optional" | ||
}, | ||
{ | ||
"id": "boolean-optional", | ||
"type": "Boolean", | ||
"value": true, | ||
"label": "boolean-optional", | ||
"binding": { | ||
"name": "boolean-optional", | ||
"type": "zeebe:property" | ||
}, | ||
"feel": "optional" | ||
}, | ||
{ | ||
"id": "number-required", | ||
"type": "Number", | ||
"value": "100", | ||
"label": "number-required", | ||
"binding": { | ||
"name": "number-required", | ||
"type": "zeebe:property" | ||
}, | ||
"feel": "required" | ||
}, | ||
{ | ||
"id": "boolean-required", | ||
"type": "Boolean", | ||
"value": true, | ||
"label": "boolean-required", | ||
"binding": { | ||
"name": "boolean-required", | ||
"type": "zeebe:property" | ||
}, | ||
"feel": "required" | ||
}, | ||
{ | ||
"type": "Text", | ||
"value": "displayed when static is 100", | ||
"binding": { | ||
"name": "text", | ||
"type": "zeebe:property" | ||
}, | ||
"condition": { | ||
"property": "number-optional", | ||
"equals": "100" | ||
} | ||
} | ||
] | ||
} |