From bcefaa17521f6429563ca2bac962a91ee6490e9b Mon Sep 17 00:00:00 2001 From: Martin Stamm Date: Mon, 12 Feb 2024 11:36:53 +0100 Subject: [PATCH] chore: add example template --- .../fixtures/complex.json | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/test/spec/cloud-element-templates/fixtures/complex.json b/test/spec/cloud-element-templates/fixtures/complex.json index df37c46f..4bfc2771 100644 --- a/test/spec/cloud-element-templates/fixtures/complex.json +++ b/test/spec/cloud-element-templates/fixtures/complex.json @@ -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" + } + } + ] } ] \ No newline at end of file