AnsweredAssumed Answered

upload Deployment fails

Question asked by mokematt on Jun 22, 2012
Latest reply on Jun 22, 2012 by mokematt

i want to add a simple deployment to activiti and log in as 'kermit' and upload this deployment containing a start event, a service task and an end event:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions xmlns="" xmlns:activiti="" xmlns:bpmndi="" xmlns:dc="" xmlns:di="" xmlns:tns="" xmlns:xsd="" xmlns:xsi="" exporter="Yaoqiang BPMN Editor" exporterVersion="2.0" expressionLanguage="" id="_1340262474100" name="" targetNamespace="" typeLanguage="" xsi:schemaLocation="">
  <process id="_1" isClosed="false" isExecutable="true" processType="None">
    <startEvent id="_2" isInterrupting="true" name="Start Event" parallelMultiple="false">
    <endEvent id="_4" name="End Event">
    <serviceTask  activiti:class="org.activiti.examples.bpmn.servicetask.ToUppercase" completionQuantity="1" id="_8" name="Service Task" startQuantity="1">
    <sequenceFlow id="_9" sourceRef="_2" targetRef="_8"/>
    <sequenceFlow id="_10" sourceRef="_8" targetRef="_4"/>

I got this error message: "One of the attributes 'class', 'delegateExpression', 'type', 'operation', or 'expression' is mandatory on serviceTask. | Test-Prozess.bpmn20.xml | line 10 | column 156"

Why do i get this error? The class exists, it is a default class of the activiti-engine-examples and is described in the user guide.

thanks a lot for help