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=""  name="tacheAdmin">

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

   <swimlane name="assignee">
       <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">

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

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

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

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

   <end-state name="end-state1"></end-state>

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