Dropdown in Element template is not working


#1

Dear All,

I have an element template with multiple dropdowns. First I selected Email-Author under CandidateGroups, and then when I select any value under Choice, the previous selection in CandidateGroups goesoff. Similarly with the other dropdown field. Below is the template I’m using. Please guide me if I’m missing anything.

{
“name”: “Content Execution Task”,
“id”: “ContentExecutionTask”,
“appliesTo”: [
“bpmn:UserTask”
],
“properties”: [
{
“label”: “CandidateGroups”,
“type”: “Dropdown”,
“value”: “Executioner”,
“choices”: [
{ “name”: “Email-Author”,“value”: “Email-Author” },
{ “name”: “Web-Author”, “value”: “Web-Author” },
{ “name”: “Message-Author”,“value”: “Message-Author” },
{ “name”: “SEM-Author”,“value”: “SEM-Author” },
{ “name”: “Inbound-Author”, “value”: “Inbound-Author” },
{ “name”: “Outbound-Author”,“value”: “Outbound-Author” },
{ “name”: “TVRadio-Author”,“value”: “TVRadio-Author” },
{ “name”: “Chat-Author”, “value”: “Chat-Author” },
{ “name”: “Notification-Author”,“value”: “Notification-Author” }
],
“editable”: true,
“binding”: {
“type”: “camunda:property”,
“name”: “general”
}
},
{
“label”: “Form Key1”,
“type”: “String”,
“value”: “embedded:app:forms/CampaignExecution.html”,
“editable”: true,
“binding”: {
“type”: “property”,
“name”: “camunda:formKey”
}
},
{
“label”: “Channels”,
“type”: “Dropdown”,
“value”: “channel”,
“choices”: [
{“name”: “Email”, “value”: “Email”},
{“name”: “SEM”, “value”: “SEM”},
{“name”: “SMS”, “value”: “SMS” },
{“name”: “Inbound”, “value”: “Inbound”},
{“name”: “Outbound”, “value”: “Outbound”},
{“name”: “TV,Radio&Events”, “value”: “TV” },
{“name”: “Chat”, “value”: “Chat”},
{“name”: “Web&Social”, “value”: “Social”},
{“name”: “SMS&Notification”, “value”: “Notification” }
],
“editable”: true,
“binding”: {
“type”: “camunda:property”,
“name”: “general”
}
},

{
  "label": "Counter",
  "type": "Dropdown",
  "value": "counter",
  "choices": [
    {"name": "1", "value": "1"},
    {"name": "2", "value": "2"},
{"name": "3", "value": "3" },
{"name": "4", "value": "4"},
    {"name": "5", "value": "5"}
  ],
  "editable": true,
  "binding": {
    "type": "camunda:property",
    "name": "general"
  }
}

]
}


#2

All of these are bound to the general property. Is that a mistake?