Are Element Templates for End Events not Possible?

Dear community,
I wanted to customise an element template for a connector, which perfectly works for intermediate throw message events. I updated the element template json to also allow for end events. However, it seems that it is not possible to select element templates for end events. Am I doing something wrong or is there a reason why this does not work? From a technical perspective it shouldn’t matter as in both cases (i.e. intermediate throw and end throw) work in the same way. Both have a zeebe:taskDefinition:type

I know, I can just place an event before the end event. However, this is a workaround and I do not like it.

Any hints are appreciated.

@philipp.hehnle In Camunda 8, Element Templates are primarily designed for tasks like Service Tasks and User Tasks, and not all BPMN elements are supported. According to the official documentation

  • Element templates can be applied to BPMN elements listed in the appliesTo array of the template definition.
  • Common supported types include bpmn:ServiceTask, bpmn:UserTask, and similar task-related elements.
  • End Events, including Terminate End Events, are not typically supported for element templates.

This means that while you can model End Events in Camunda 8 (including Terminate End Events from version 8.1 onward), you cannot currently apply element templates to them.

1 Like

@aravindhrs thank you for your reply.
For me this feels like a missing feature as send end events can be implemented using a Worker like any other elements as well.
Therefore, it just would be consistent to allow for the usage of element templates at end events as well. Don’t you think?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.