01-08-2012 10:09 PM
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/test">
<process id="TestServiceTask" name="TestServiceTask">
<documentation>Place documentation for the 'TestServiceTask' process here.</documentation>
<startEvent id="theStart" name="Start"></startEvent>
<serviceTask id="serviceTask" name="Service Task" activiti:class="com.neusoft.nsop.test.HelloBPMN"></serviceTask>
<sequenceFlow id="flow1" name="" sourceRef="theStart" targetRef="serviceTask"></sequenceFlow>
<endEvent id="theEnd" name="End"></endEvent>
<sequenceFlow id="flow2" name="" sourceRef="serviceTask" targetRef="theEnd"></sequenceFlow>
</process>
</definitions>
After deploy the process on Activiti Engine, and place the implement jar file to the path : "%CATALINA_HOME%\webapps\activiti-rest\WEB-INF\lib\", I can see the corresponding diagram on Activiti Explorer, but when I trying to start it , I got an exception says tomcat can't find the implement class , which is, "com.neusoft.nsop.test.HelloBPMN" in this case. 01-09-2012 03:12 AM
01-09-2012 05:15 AM
Hi,
Did you start the process from the Activiti Explorer?
Then you have to deploy the JAR file to %CATALINA_HOME%\webapps\activiti-explorer\WEB-INF\lib\
Best regards,
01-10-2012 10:00 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.