upload Deployment fails

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2012 02:20 AM
Hi,
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:
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
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="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:activiti="http://activiti.org/bpmn-extensions" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:tns="http://sourceforge.net/bpmn/definitions/_1340262474100" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" exporter="Yaoqiang BPMN Editor" exporterVersion="2.0" expressionLanguage="http://www.w3.org/1999/XPath" id="_1340262474100" name="" targetNamespace="http://sourceforge.net/bpmn/definitions/_1340262474100" typeLanguage="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL http://bpmn.sourceforge.net/schemas/BPMN20.xsd"> <process id="_1" isClosed="false" isExecutable="true" processType="None"> <startEvent id="_2" isInterrupting="true" name="Start Event" parallelMultiple="false"> <outgoing>_9</outgoing> </startEvent> <endEvent id="_4" name="End Event"> <incoming>_10</incoming> </endEvent> <serviceTask activiti:class="org.activiti.examples.bpmn.servicetask.ToUppercase" completionQuantity="1" id="_8" name="Service Task" startQuantity="1"> <incoming>_9</incoming> <outgoing>_10</outgoing> </serviceTask> <sequenceFlow id="_9" sourceRef="_2" targetRef="_8"/> <sequenceFlow id="_10" sourceRef="_8" targetRef="_4"/> </process></definitions>
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
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2012 02:33 AM
Looks like you're using the wrong namespace URI for activiti:
use this instead:
xmlns:activiti="http://activiti.org/bpmn-extensions"
use this instead:
xmlns:activiti="http://activiti.org/bpmn"

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2012 02:51 AM
That's it, thank you very much.

