AnsweredAssumed Answered

Find the error

Question asked by buurd on Jun 3, 2010
Latest reply on Jun 3, 2010 by buurd
Hi!

I have a workflow where I seem to have introduced a problem. I have staired at files for a couple of hours now but doesn't seem to come any closer to a solution.

The problem is that when I try to start the workflow the GUI doesn't get changed to reflect what I belive I have setup. Can you spot any errors that would stop Alfresco from recognizing either the model or webclient-settings?

I have only attemted to add the GUI for the start-state so far. I have restarted, looked in the Workflow-console and repository-console and webclient-console to verify that the files are recognized and doesn't contain any errors as far they can see but still there are no GUI when I try to start the workflow.

Thanks in advance
Roland


—————- Process definition ——————————

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

<process-definition xmlns="urn:jbpm.org:jpdl-3.1"  name="s:Slamsugning">

   <swimlane name="initiator" />
   <swimlane name="MoP_VC">
      <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
         <pooledactors>#{bmp_assignee}</pooledactors>
      </assignment>
   </swimlane>
   
   <swimlane name="MoP_Arbetsledare">
      <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
         <pooledactors>#{bmp_assignee}</pooledactors>
      </assignment>
   </swimlane>

   <start-state name="start-state1">
      <task name="s:paborjaUppgift" swimlane="initiator" />
      <transition to="Arbetsledarval"></transition>
   </start-state>


   <task-node name="Arbetsledarval">
      <task name="s:arbetsledarval" swimlane="MoP_VC" />
      <transition to="UppgiftSkickad"></transition>
   </task-node>

   <task-node name="UppgiftSkickad">
      <task name="s:uppgiftSkickad" swimlane="MoP_Arbetsledare" />
      <transition to="DokumentationMottagen"></transition>
   </task-node>

   <task-node name="DokumentationMottagen">
      <task name="s:dokumentationMottagen" swimlane="MoP_Arbetsledare" />
      <transition to="UtförandeKontrollerat"></transition>
   </task-node>

   <task-node name="UtförandeKontrollerat">
      <task name="s:utforandeKontrollerat" swimlane="MoP_VC" />
      <transition to="end-state1"></transition>
   </task-node>

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


</process-definition>


————— The model —————————————————-

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

<model name="s:Slamsugning" xmlns="http://www.alfresco.org/model/dictionary/1.0">

   <description>Slamsugning</description>
   <author>Roland</author>
   <version>1.0</version>
   <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" />
   </imports>

   <namespaces>
      <namespace uri="http://www.jonkoping.se/model/workflow/Slamsugning/1.0"
         prefix="s" />
   </namespaces>

   <types>
      <!–  RootProjectSpace, custom type holding ProjectSpaces –>
      <type name="s:paborjaUppgift">
         <title>Påbörja uppgift</title>
         <parent>bpm:startTask</parent>
         <properties>
            <property name="s:lokal">
               <title>Lokal</title>
               <type>d:text</type>
            </property>
         </properties>
         <mandatory-aspects>
            <aspect>bpm:assignee</aspect>
         </mandatory-aspects>
      </type>
      <type name="s:arbetsledarval">
         <title>Arbetsledarval</title>
         <parent>bpm:workflowTask</parent>
      </type>
      <type name="s:uppgiftSkickad">
         <title>Uppgift skickad</title>
         <parent>bpm:workflowTask</parent>
      </type>
      <type name="s:dokumentationMottagen">
         <title>Dokumentation mottagen</title>
         <parent>bpm:workflowTask</parent>
      </type>
      <type name="s:utforandeKontrollerat">
         <title>Dokumentation mottagen</title>
         <parent>bpm:workflowTask</parent>
      </type>
   </types>
</model>

—————- web-client-custom ——————————–

<?xml version="1.0" encoding="UTF-8"?>
<config evaluator="node-type" condition="s:paborjaUppgift" replace="true">
   <property-sheet>
      <show-property name="s:lokal" display-label="Lokal" />
      <show-association name="bpm:assignee" display-label="Nästa person" />
   </property-sheet>
</config>

Outcomes