One of the attributes 'class', 'delegateExpression', 'type', or 'expression' is mandatory on businessRuleTask.

2,024 views
Skip to first unread message

Mauricio Bitencourt

unread,
Dec 8, 2015, 7:47:44 AM12/8/15
to camunda BPM users
When I tried to deploy a process with a business rule task I received the following message:

"One of the attributes 'class', 'delegateExpression', 'type', or 'expression' is mandatory on businessRuleTask."


This is a part of .bpmn file:


    <bpmn:businessRuleTask id="BusinessRuleTask_09bg3qj" 

      name="Renda do grupo familiar" 

      camunda:resultVariable="resultadoRenda" 

      camunda:decisionRef="renda

      camunda:mapDecisionResult="collectEntries"

      <bpmn:incoming>SequenceFlow_0buibre</bpmn:incoming>

      <bpmn:outgoing>SequenceFlow_0lmct5o</bpmn:outgoing>

    </bpmn:businessRuleTask>


I am using Camunda BPM 7.4 and new Camunda Modeler v0.3.0 and Eclipse Mars on Mac OSX.

Sebastian Menski

unread,
Dec 8, 2015, 8:00:41 AM12/8/15
to camunda BPM users
Hi,

what is the URL of "xmlns:camunda" in you XML file?

Cheers,
Sebastian

Mauricio Bitencourt

unread,
Dec 8, 2015, 8:03:41 AM12/8/15
to camunda BPM users

Hi Sebastian, 


This is:


xmlns:camunda="http://camunda.org/schema/1.0/bpmn"


Thanks,

Maurício

Sebastian Menski

unread,
Dec 8, 2015, 8:41:57 AM12/8/15
to camunda BPM users
Hi Mauricio,

okay that is strange. Could you share the whole BPMN process? Which Camunda distribution do you use?

Cheers,
Sebastian

Sebastian Menski

unread,
Dec 8, 2015, 9:02:07 AM12/8/15
to camunda BPM users
Hi Mauricio,

thanks for sharing the sources. You have to set the Camunda version in your pom.xml to 7.4.0. See line 15 of the pom.xml

<camunda.version>7.4.0</camunda.version>

Than your tests run successful.

Cheers,
Sebastian

Mauricio Bitencourt

unread,
Dec 8, 2015, 9:19:25 AM12/8/15
to camunda-...@googlegroups.com
Sebastian

Now it works. Thanks a lot.

Your support is awesome!

Cheers!

Mauricio Bitencourt


--
You received this message because you are subscribed to a topic in the Google Groups "camunda BPM users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/camunda-bpm-users/xFT9C9PvOKg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to camunda-bpm-us...@googlegroups.com.
To post to this group, send email to camunda-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/camunda-bpm-users/b18d67e8-1e0a-47cd-b581-f1ee0dcb5caf%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.





Reply all
Reply to author
Forward
0 new messages