sendtask with camunda modeler and deployment error

184 views
Skip to first unread message

romad...@gmail.com

unread,
Sep 1, 2013, 9:00:39 AM9/1/13
to camunda-...@googlegroups.com
Hi,

I have created a bpmn model using the camunda modeler. At the deployment step an error occured like this org.camunda.bpm.engine.ProcessEngineException: One of the attributes 'type' or 'operation' is mandatory on sendTask. | x.bpmn | line 80 | column 82
One of the attributes 'type' or 'operation' is mandatory on sendTask. | pos.bpmn | line 148 | column 69

It is true that the bpmn does not contain this kind of entry for the sendtask. But your website does not mention these entry also. Could you help me ?

Regards,
Romain

Daniel Meyer

unread,
Sep 2, 2013, 11:19:39 AM9/2/13
to romad...@gmail.com, camunda-...@googlegroups.com
Hi Romain,

this is a known issue and will be fixed in the next version of the eclipse
modeler.
https://app.camunda.com/jira/browse/CAM-1024

You can add the attribute in the XML source of your BPMN file.
http://docs.camunda.org/api-references/bpmn20/#!/tasks/send-task

Cheers,
Daniel Meyer

romad...@gmail.com

unread,
Sep 3, 2013, 2:24:32 AM9/3/13
to camunda-...@googlegroups.com, romad...@gmail.com
Hi,

Thanks for your answer. I'just applied your suggestion with adding a camunda:class entry.
<sendTask id="SendTask_1" name="Envoi mail" camunda:class="org.camunda.bpm.MySendTaskDelegate">
<incoming>SequenceFlow_30</incoming>
</sendTask>


Now we have the following error :

SEVERE: Error while closing command context
org.camunda.bpm.engine.ProcessEngineException: couldn't parse 'x.bpmn': Le préfixe "camunda" de l'attribut "camunda:class" associé à un type d'élément "sendTask" n'est pas lié.

Something wrong ?

Regards,
Romain

Daniel Meyer

unread,
Sep 3, 2013, 2:42:21 AM9/3/13
to romad...@gmail.com, camunda-...@googlegroups.com

Salut Romain,

 

The problem is that the prefix camunda: is not mapped inside your BPMN xml file. You use try the following:

 

<sendTask id="SendTask_1" name="Envoi mail" activiti:class="org.camunda.bpm.MySendTaskDelegate">

      <incoming>SequenceFlow_30</incoming>

    </sendTask>

 

Bonne Journée,

Daniel Meyer

 

-----Ursprüngliche Nachricht-----
Von: camunda-...@googlegroups.com [mailto:camunda-...@googlegroups.com] Im Auftrag von romad...@gmail.com
Gesendet: Dienstag, 3. September 2013 08:25
An: camunda-...@googlegroups.com
Cc: romad...@gmail.com
Betreff: Re: sendtask with camunda modeler and deployment error

--

You received this message because you are subscribed to the Google Groups "camunda BPM users & process application developers" group.

To unsubscribe from this group and stop receiving emails from it, send an email to camunda-bpm-us...@googlegroups.com.

To post to this group, send email to camunda-...@googlegroups.com.

romad...@gmail.com

unread,
Sep 3, 2013, 2:47:10 AM9/3/13
to camunda-...@googlegroups.com, romad...@gmail.com
Thanks a lot it works fine.
Reply all
Reply to author
Forward
0 new messages