AnsweredAssumed Answered

deploying a simple workflow

Question asked by darklord on May 22, 2009
Latest reply on Jan 13, 2010 by ntanchik
hi folks,

            i have downloaded code from HEAD and its release 3.2 as version.properties says.
            i have created a simple HelloWorld workflow and pasted it in   WEB-INF/classes/alfresco/extension/workflows/HelloWorld/processdefinition.xml.
            started the tomcat and hit the url "http://localhost:8080/alfresco/faces/jsp/admin/workflow-console.jsp".
            write the command deploy alfresco|extension|workflows|HelloWorld|processdefinition.xml and press submit.
            it gives following error

             Last command: help
             Duration: 7ms
             —–
              org.alfresco.error.AlfrescoRuntimeException: 04220007 Exception in Transaction.

            
             my processdefinition.xml looks like this..

<?xml version="1.0" encoding="UTF-8"?>
<process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="helloWorld">
   <start-state name="start">
      <transition name="" to="hello"></transition>
   </start-state>
   <node name="hello">
      <transition name="" to="end1">
         <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
            <script>logger.log("Hello World!");</script>
         </action>
      </transition>
   </node>
   <end-state name="end1"></end-state>
</process-definition>


any clues whats going wrong

Outcomes