Using Element Templates

Element Templates can be used with Camunda Modeler version 1.0 and higher. They are currently available in BPMN diagrams only.

Disclaimer

Element Templates may be subject to change in the future.As an example, this may lead to changes in the way you configure templates in JSON.

Overview

Element templates are a way to extend the Camunda Modeler with domain specific diagram elements such as service and user tasks.

Element Templates - 图1

If applicable, element templates can be assigned to a diagram element via the properties panel.Once selected, they configure the diagram element with pre-defined values for BPMN properties, input/output mappings as well as extension properties.

As seen in the Mail Task example above the modeler allows properties of custom elements to be edited, too.

Learn More

Refer to the following resources to learn more about element templates:

原文: https://docs.camunda.org/manual/7.9/modeler/camunda-modeler/element-templates/