Skip to content

Commit

Permalink
test: add number and boolean template for dev setup
Browse files Browse the repository at this point in the history
  • Loading branch information
barmac authored and nikku committed Feb 26, 2024
1 parent 7ad03a8 commit 1db4ef3
Showing 1 changed file with 90 additions and 0 deletions.
90 changes: 90 additions & 0 deletions resources/element-templates/new-fields.json
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"
}
}
]
}

0 comments on commit 1db4ef3

Please sign in to comment.