Element Template for conditionFlow

Hallo everyone,

i am trying to write a template for sequecyflow, so that the developers does not need to set it by self.
I need two predefined value für this flow, just like following fotos.
1.) condition type = Expression
2.) Expression value = ${ausgang ==‘REST1’} /for example/

Ist that possible? I am using Modeler 4.7.0 ,have not find the correct document.

That should be doable. Maybe something like

[
  {
    "$schema": "https://unpkg.com/@camunda/element-templates-json-schema@0.3.0/resources/schema.json",
    "name": "Conditional Flow",
    "id": "com.example.ConditionalFlow",
    "version": 1,
    "appliesTo": [
      "bpmn:SequenceFlow"
    ],
    "properties": [
      {
        "label": "Condition Expression",
        "type": "String",
        "value": "${ausgang == 'REST1'}",
        "editable": false,
        "binding": {
          "type": "property",
          "name": "conditionExpression"
        }
      }
    ]
  }
]
2 Likes