<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Service task problem with rc1 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/service-task-problem-with-rc1/m-p/17953#M8130</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;after I switched to the new version 5.0-rc1 I get the following error message with a serviceTask:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;org.activiti.engine.ActivitiException: 'class', 'type', or 'expression' attribute is mandatory on serviceTask | de/vps/act/process/ButtonTestProcess3.bpmn20.xml | line 34 | column 69&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;But the BPMN definition did not change and it was ok with beta2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the definition:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;serviceTask id="t3" name="T3" activiti:class="de.vps.act.process.DummyActivitiTask" /&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Do you have any idea what the problem could be?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Frauke&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Nov 2010 13:25:04 GMT</pubDate>
    <dc:creator>frauke</dc:creator>
    <dc:date>2010-11-03T13:25:04Z</dc:date>
    <item>
      <title>Service task problem with rc1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-problem-with-rc1/m-p/17953#M8130</link>
      <description>Hello everybody,after I switched to the new version 5.0-rc1 I get the following error message with a serviceTask&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rg.activiti.engine.ActivitiException: 'class', 'type', or 'expression' attribute is mandatory on serviceTask | de/vps/act/process/ButtonTestProcess3.bpmn20.xml | line 34 | column 69‍‍‍Bu</description>
      <pubDate>Wed, 03 Nov 2010 13:25:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-problem-with-rc1/m-p/17953#M8130</guid>
      <dc:creator>frauke</dc:creator>
      <dc:date>2010-11-03T13:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Service task problem with rc1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-problem-with-rc1/m-p/17954#M8131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;No need to use the activiti-namespace prefix on attributes anymore. Just use this:&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;lt;serviceTask id="t3" name="T3" class="de.vps.act.process.DummyActivitiTask" /&amp;gt;&lt;/CODE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Woops, was too fast. This comment only applies for custom activiti-elements&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 13:28:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-problem-with-rc1/m-p/17954#M8131</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2010-11-03T13:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Service task problem with rc1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-problem-with-rc1/m-p/17955#M8132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The custom BPMN extentions-namespace uri has switched from "&lt;/SPAN&gt;&lt;A href="http://activiti.org/bpmn-extensions" rel="nofollow noopener noreferrer"&gt;http://activiti.org/bpmn-extensions&lt;/A&gt;&lt;SPAN&gt;" to "&lt;/SPAN&gt;&lt;A href="http://activiti.org/bpmn" rel="nofollow noopener noreferrer"&gt;http://activiti.org/bpmn&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Be sure to use this in your root element:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;lt;definitions&lt;BR /&gt;&amp;nbsp; xmlns="&lt;A href="http://www.omg.org/spec/BPMN/20100524/MODEL" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/BPMN/20100524/MODEL&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp; xmlns:activiti="&lt;A href="http://activiti.org/bpmn" rel="nofollow noopener noreferrer"&gt;http://activiti.org/bpmn&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp; targetNamespace="Examples"&amp;gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 13:31:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-problem-with-rc1/m-p/17955#M8132</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2010-11-03T13:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Service task problem with rc1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-problem-with-rc1/m-p/17956#M8133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ok, that works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope you don't do that with every new release, though&amp;nbsp; &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 13:41:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-problem-with-rc1/m-p/17956#M8133</guid>
      <dc:creator>frauke</dc:creator>
      <dc:date>2010-11-03T13:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Service task problem with rc1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-problem-with-rc1/m-p/17957#M8134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We won't I promise &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since this was the RC1-release, this was the right time to make sure we are pleased with how everything is named. After the GA we want to keep all this core-stuff as stable as possible.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 13:53:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-problem-with-rc1/m-p/17957#M8134</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2010-11-03T13:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Service task problem with rc1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-problem-with-rc1/m-p/17958#M8135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm afraid that i am facing the same problem - but can not solve it with the tips in this thread:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My XML:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;definitions id="definitions"&lt;BR /&gt;&amp;nbsp; xmlns="&lt;A href="http://www.omg.org/spec/BPMN/20100524/MODEL" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/BPMN/20100524/MODEL&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp; xmlns:activiti="&lt;A href="http://activiti.org/bpmn" rel="nofollow noopener noreferrer"&gt;http://activiti.org/bpmn&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp; targetNamespace="Examples"&amp;gt;&lt;BR /&gt; &amp;lt;process id="helloworld" name="helloworld"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;startEvent id="startevent1" name="Start"&amp;gt;&amp;lt;/startEvent&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;serviceTask id="servicetask1" name="Service Task"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; activiti:class="de.asbach.alldeakz.bpmn.task.HelloServiceTask"&amp;gt;&amp;lt;/serviceTask&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow1" name="" sourceRef="startevent1"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; targetRef="servicetask1"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow2" name="" sourceRef="servicetask1"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; targetRef="endevent1"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;endEvent id="endevent1" name="End"&amp;gt;&amp;lt;/endEvent&amp;gt;&lt;BR /&gt; &amp;lt;/process&amp;gt;&lt;BR /&gt;&amp;lt;/definitions&amp;gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Inovking with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt; public void testBPMNProcess() throws Exception {&lt;BR /&gt;&amp;nbsp; ProcessEngine processEngine = new ProcessEngineBuilder()&lt;BR /&gt;&amp;nbsp; .configureFromPropertiesResource("activiti.properties")&lt;BR /&gt;&amp;nbsp; .buildProcessEngine();&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; RepositoryService reposity = processEngine.getRepositoryService();&lt;BR /&gt;&amp;nbsp; reposity&lt;BR /&gt;&amp;nbsp;&amp;nbsp; .createDeployment()&lt;BR /&gt;&amp;nbsp;&amp;nbsp; //.addClasspathResource("example.xml")&lt;BR /&gt;&amp;nbsp;&amp;nbsp; .addClasspathResource("step_by_step.bpmn20.xml")&lt;BR /&gt;&amp;nbsp;&amp;nbsp; .deploy();&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; ProcessInstance pi = processEngine&lt;BR /&gt;&amp;nbsp;&amp;nbsp; .getRuntimeService()&lt;BR /&gt;&amp;nbsp;&amp;nbsp; .startProcessInstanceByKey("helloworld");&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;But get the error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.activiti.engine.ActivitiException: 'class' or 'expr' attribute is mandatory on serviceTask&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;May you can give me a hint.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Nov 2010 14:59:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-problem-with-rc1/m-p/17958#M8135</guid>
      <dc:creator>asbachb</dc:creator>
      <dc:date>2010-11-07T14:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Service task problem with rc1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-problem-with-rc1/m-p/17959#M8136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Which version of Activiti are you using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error seems to be the output of an exception from a previous release, while the namespace declaration is the latest one.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Nov 2010 15:07:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-problem-with-rc1/m-p/17959#M8136</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2010-11-08T15:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Service task problem with rc1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-problem-with-rc1/m-p/17960#M8137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your suggestions. I updated the designer but forget to update the version in the pom file. Sorry for that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 15:59:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-problem-with-rc1/m-p/17960#M8137</guid>
      <dc:creator>asbachb</dc:creator>
      <dc:date>2010-11-11T15:59:23Z</dc:date>
    </item>
  </channel>
</rss>

