Hello!
I want to change my set value which is selected by a dropdown with another field using modeler templates.
Here is my modeler template:
{
"name": "MyTemplate",
"id": "myTemplate",
"appliesTo": [
"bpmn:ServiceTask"
],
"properties": [],
"scopes": {
"camunda:Connector": {
"properties": [
{
"label": "ConnectorID",
"type": "String",
"value": "http-connector",
"editable": false,
"binding": {
"type": "property",
"name": "connectorId"
}
},
{
"label": "Method",
"type": "String",
"value": "GET",
"editable": false,
"binding": {
"type": "camunda:inputParameter",
"name": "method"
}
},
{
"label": "URL",
"type": "Dropdown",
"value": "TO_BE_SET",
"choices": [
{
"name": "URL 1",
"value": "http://localhost/url1&${param}"
},
{
"name": "URL 2",
"value": "http://localhost/url2&${param}"
}
],
"binding": {
"type": "camunda:inputParameter",
"name": "url"
}
},
{
"label": "myParam",
"type": "String",
"value": "",
"binding": {
"type": "camunda:inputParameter",
"name": "param"
}
}
]
}
}
}
So when I type “myValue” into the “myParam” field with “URL 1” selected, the resulting URL should be “http://localhost/url1&myValue”.
Is this possible using modeler templates and if so, how?