Hi,
I’ve tried using Dropdown- Lists in our bpmn.js properties panel service task. I followed the structure defined under dropdown-type and added this to our json file, that defines our template. But unfortunately the templates entry in the properties panel is then not show any more, which indicates that there is something wrong with the json file, but unluckily there is no error message in the dev tools console.
This is the json file defining the template:
[
{
"$schema": "https://unpkg.com/@camunda/element-templates-json-schema/resources/schema.json",
"id": "create_order",
"name": "Create Order",
"description": "Create a new order to work with",
"appliesTo": ["bpmn:ServiceTask"],
"properties": [
{
"label": "Label1",
"type": "String",
"value": "value1",
"binding": {
"type": "camunda:field",
"name": "Label1"
}
},
{
"label": "Label2",
"type": "String",
"value": "value2",
"binding": {
"type": "camunda:field",
"name": "Label2"
}
},
{
"label": "Receivers",
"type": "String",
"binding": {
"type": "camunda:inputParameter",
"name": "receivers"
}
},
{
"label": "Task Priority",
"type": "Dropdown",
"value": "50",
"choices": [
{ "name": "low", "value": "20" },
{ "name": "medium", "value": "50" },
{ "name": "height", "value": "100" }
]
}
]
}
]
Is Dropdown not supported or is this not the way to go? Thanks in advance for your help