ERROR: Must have exactly one 'zeebe:taskDefinition' extension element

Hi Everyone ,
I created Element Template for Rest connector in Camunda 8 (Self Managed) .


Now I am trying to deploy my process with Spring code I am facing below error
ERROR: Must have exactly one ‘zeebe:taskDefinition’ extension element
I have created one job worker as well .

Any help or suggestion is appreciable
Thanx,
Avinash

Hey @Avinash_Rawat

what do you mean you created “Element Template for Rest connector in Camunda 8 (Self Managed) .” did you added that functionality to the modeler or did you just used it? Do you used the webModeler or the normal modeler ? Which version?

How does the resulting bpmn model look like, can you share the XML?

Greets
Chris

2 Likes

Hi @Zelldon ,
Can you once go with this link Sending Mail by SendGrid using connector in Camunda 8 Self Managed Failed , I have explained each things, what I want and what I tried.
Any suggestion or documentation is appreciable
Thanks,
Avinash

restconnector.bpmn (3.3 KB)
in the XML the zeebe:taskDefinition type="http" is defined twice (lines 14 and 22):

Please check or share your element template definition to get an idea if it may be an issue with the element template framework.

Hope this helps, Ingo