Skip to content

Commit

Permalink
chore: add example template
Browse files Browse the repository at this point in the history
  • Loading branch information
marstamm committed Feb 12, 2024
1 parent 03d4a09 commit bcefaa1
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions test/spec/cloud-element-templates/fixtures/complex.json
Original file line number Diff line number Diff line change
Expand Up @@ -1615,5 +1615,46 @@
}
}
]
},
{
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
"name": "Boolean and Number",
"id": "com.zeebe.example.boolean.and.number",
"description": "Shows a Boolean and number field as optional FEEL fields",
"appliesTo": [
"bpmn:Task"
],
"properties": [
{
"label": "Cardholder",
"value": "Jon Doe",
"type": "String",
"feel": "optional",
"binding": {
"type": "zeebe:input",
"name": "name"
}
},
{
"label": "Amount",
"value": "=10",
"type": "Number",
"feel": "optional",
"binding": {
"type": "zeebe:input",
"name": "Amount"
}
},
{
"label": "Capture",
"value": "=false",
"type": "Boolean",
"feel": "optional",
"binding": {
"type": "zeebe:input",
"name": "capture"
}
}
]
}
]

0 comments on commit bcefaa1

Please sign in to comment.