AnsweredAssumed Answered

Failed to deploy workflow definition

Question asked by kaya on Jul 1, 2008
Hi everyone,

I am trying to deploy my first workflow which consists of three steps :
- the initiator gives a label and a description, and choses an assignee for the task
- the document is moved to another space
- the assignee validates the document

I designed my workflow with jbpm designer. I can't seem to make it work, I have an exception :
org.alfresco.service.cmr.workflow.WorkflowException: Failed to deploy workflow definition
with nothing else to work with, so I don't even know where to start debugging.

Here is my code


<?xml version="1.0" encoding="UTF-8"?>

<process-definition  xmlns="urn:jbpm.org:jpdl-3.2"  name="tacheAdmin">

   <swimlane name="initiator"></swimlane>

   <swimlane name="assignee">
       <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
          <actor>#{bpm_assignee}</actor>
       </assignment>
   </swimlane>

   <start-state name="debut tache" swimlane="initiator">
      <transition to="request entry"></transition>
   </start-state>

   <task-node name="request entry">
      <task name="enter infos" swimlane="assignee">
         <controller>
            <variable access="read,write,required" name="libelle"></variable>
            <variable access="read,write" name="description"></variable>
         </controller>
      </task>
      <transition to="deplacement"></transition>
   </task-node>

   <node name="deplacement">
      <action name="actionMove" class="com.xgs.demat.actions.MoveToActionHandler"></action>
      <transition to="approbation"></transition>
   </node>

   <task-node name="approbation">
      <task name="approve" swimlane="assignee"></task>
      <transition to="end-state1"></transition>
   </task-node>

   <end-state name="end-state1"></end-state>
   <task>
</task>
</process-definition>

I am desperate to make it work, any help would be appreciated.
thanks

Outcomes