Hide type and topic for external task via modeler template

Hi,

I tried to hide the type and topic fields for a external service task via the modeler templates without success.

I did also not find anything in the description.

What would be the correct syntax for that? My current template is:

{
    "name" : "My external task",
    "id" : "external.mytask",
    "appliesTo": [
        "bpmn:ServiceTask"
    ],
    "properties" : [
        {
            "label": "external",
            "type": "Hidden",
            "value": "external",
            "binding": {
                "type": "property",
                "name": "camunda:type"
            }
        },
        {
            "label": "topic",
            "type": "Hidden",
            "value": "TOPIC_NAME",
            "binding": {
                "type": "property",
                "name": "camunda:topic"
            }
        },
        ...
    ],
   "entriesVisible": {
        "_all": true,
        "type": false,
        "topic": false
    }
}

I also tried camunda:type and camunda:topic, but that also did not the trick.

Thanks for help,

Alexander

Hi @Alexander,

replace type with implementation and topic with externalTopic.

 "entriesVisible": {
      "_all": true,
      "implementation": false,
      "externalTopic": false
    }

I always step into the debug mode with F12 and search in the index.js for modelProperty:
There you can find the ids that are used to hide the elements.

You can also find it there.

regards,
Dominik

Hi Dominik,

works like charm.

Thanks,

Alexander