camunda:class or namespaces, prefixes and Eclipse BPMN Editor

444 views
Skip to first unread message

Michael Grom

unread,
Aug 19, 2013, 3:28:45 AM8/19/13
to camunda-...@googlegroups.com
Dear Forum,

just upgraded my little PoC from alpha6 to alpha9 and that was probably a step too huge to take. :-( All *.bpmn files seem to fail with some odd error and wrong line number indication. I noticed that in the BPMN2.0 reference, the activity prefix was replaced by "camunda" and for sure is also the namespace uri (http://www.activity.org/bpm" -> ???).
http://docs.camunda.org/api-references/bpmn20/#!/tasks/service-task

Could this be the reason for
Caused by: org.camunda.bpm.engine.ProcessEngineException: One of the attributes 'class', 'delegateExpression', 'type', 'operation', or 'expression' is mandatory on serviceTask. | RECEIVE_FORMS.bpmn | line 65 | column 92
    at org.camunda.bpm.engine.impl.util.xml.Parse.throwActivitiExceptionForErrors(Parse.java:183)
    at org.camunda.bpm.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:248)

?

I noticed that the Eclipse editor is still the same. Does that make sense?

kind regards
Michael

Nico Rehwaldt

unread,
Aug 20, 2013, 4:30:50 AM8/20/13
to camunda-...@googlegroups.com
Hi Michael, 

in alpha9 we adjusted the prefix for process engine extensions from activiti to camunda. This however is only a cosmetical issue.
For reasons of backwards-compatibility, the namespace itself remains unchanged as both, the camunda modeler and the engine rely on it. 

We mistakenly stated in the docs that the namespace is changed, too. Theses changes have been corrected as of commit 80f0eeba 

Do you continue to experience issues when changing the namespace back to http://activiti.org/bpmn?

Regards, 

Nico

Michael Grom

unread,
Aug 20, 2013, 11:09:14 AM8/20/13
to camunda-...@googlegroups.com
Unfortunately, this seems not bee the issue (the namespace), maybe related. A demo bpmn created with the same eclipse editor (but of lesser compexity) works nicely under alpha9. It's just some of the Process files that I have to admit have been "migrated" from Bonita to Camunda, with lots of manual editing because of a choking Eclipse editor..but then ran nicely until alpha9. :-(

Kind regards
Michael


On Monday, August 19, 2013 9:28:45 AM UTC+2, Michael Grom wrote:

Bernd Rücker (camunda)

unread,
Aug 20, 2013, 12:46:14 PM8/20/13
to Michael Grom, camunda-...@googlegroups.com

Ist it maybe possible that you post your XML here?

--
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.

Michael Grom

unread,
Aug 20, 2013, 4:39:38 PM8/20/13
to camunda-...@googlegroups.com

sure... there it is!


On Monday, August 19, 2013 9:28:45 AM UTC+2, Michael Grom wrote:
MONITOR.bpmn

Nico Rehwaldt

unread,
Aug 21, 2013, 8:14:06 AM8/21/13
to camunda-...@googlegroups.com
Hi Michael, 

the behavior you see is caused by recent changes in how messageEndEvents and messageIntermediateThrowEvents are handled.
In alpha9, messageEndEvents can be used in the same way serviceTasks can be used (see CAM-436). 

This however breaks with the old behavior that allowed non serviceTask-like message end events.
I created a ticket to restore the old behavior. It should work in camundaBPM 7.0 GA.

Thanks for reporting the issue! 

Nico
Reply all
Reply to author
Forward
0 new messages