AnsweredAssumed Answered

Failed to signal transition from workflow task

Question asked by nparry on Jun 4, 2007
Latest reply on Jun 4, 2007 by nparry
Hi,

I'm experimenting with a basic workflow, and when it transitions from the task node named "task" to the end-state, I get this error:
A system error happened during the operation: Failed to signal transition '' from workflow task 'jbpm$29'

My workflow is as follows:

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

<process-definition
  xmlns="urn:jbpm.org:jpdl-3.1"  name="at:alfrescotestprocess">
   <swimlane name="initiator"></swimlane>
   <swimlane name="assignee">
     <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
         <actor>#{bpm_assignee}</actor>
        </assignment>

   </swimlane>
  
   <start-state name="start">
      <task name="at:submitTask" swimlane="initiator"></task>
      <transition name="" to="task"></transition>
   </start-state>
   <task-node name="task">
      <task name="at:doTask" swimlane="assignee"></task>
      <transition name="" to="end1"></transition>
   </task-node>
   <end-state name="end1"></end-state>
  
</process-definition>

Task Model:
<?xml version="1.0" encoding="UTF-8"?>
<model name="at:alfrescoTaskModel" xmlns="http://www.alfresco.org/model/dictionary/1.0">

<imports>
   <import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
   <import uri="http://www.alfresco.org/model/bpm/1.0" prefix="bpm"/>
   <import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>

</imports>

<namespaces>
   <namespace uri="http://www.alfresco.org/model/alfrescoTest/1.0" prefix="at"/>
</namespaces>

<types>
   <type name="at:submitTask">
      <parent>bpm:startTask</parent>

      <properties>
         <property name="at:notifyMe">
            <type>d:boolean</type>
            <default>false</default>
         </property>
      </properties>
      <mandatory-aspects>
         <aspect>bpm:assignee</aspect>
      </mandatory-aspects>

   </type>
   <type name="at:doTask">
      <parent>bpm:workflowTask</parent>
      
   </type>
</types>


</model>

I know that it can't be that hard, because the workflow is really simple….

Outcomes