AnsweredAssumed Answered

No Effect - web-client-config-custom.xml

Question asked by gabbit on Feb 19, 2007
Latest reply on Feb 20, 2007 by gabbit
I tred to change the apperience of the starting dialog of my first workflow by editing the web-client-config-custom.xml in \tomcat\shared\classes\alfresco\extension:
<config evaluator="node-type" condition="wf:submitUrlaubsantragTask" replace="true">
   <property-sheet>
     <separator name="sep1" display-label-id="general" component-generator="HeaderSeparatorGenerator" />
  <show-property name="bpm:workflowPriority" />
  <show-property name="bpm:workflowDueDate" />
  </property-sheet>
  </config>
But these changes had no effect…
btw here is the code of my taskmodel/ Workflow-definition:

<?xml version="1.0" encoding="UTF-8" ?> 
<process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="wf:Urlaubsantrag">

  <swimlane name="initiator" />
 
<swimlane name="vorgesetzter">
  <assignment actor-id="vorgesetzter" />
</swimlane>
<swimlane name="personalsachbearbeiter">
  <assignment actor-id="personalsachbearbeiter" />
</swimlane>

<start-state name="start">
  <task name="wf:submitUrlaubsantragTask" swimlane="initiator" />
  <transition name="" to="reviewPersonalsachbearbeiter" />
  </start-state>
<task-node name="reviewPersonalsachbearbeiter">
  <task name="wf:reviewPersonalsachbearbeiterTask" swimlane="personalsachbearbeiter" />
  <transition name="Approve" to="reviewVorgesetzter" />
  <transition name="Reject" to="rejectedUrlaubsantrag" />
  </task-node>
<task-node name="reviewVorgesetzter">
  <task name="wf:reviewVorgesetzterTask" swimlane="vorgesetzter" />
  <transition name="Approve" to="approvedUrlaubsantrag" />
  <transition name="Reject" to="rejectedUrlaubsantrag" />
  </task-node>
<task-node name="approvedUrlaubsantrag">
  <task name="wf:approvedUrlaubsantragTask" swimlane="initiator" />
  <transition name="Complete" to="end" />
  </task-node>
<task-node name="rejectedUrlaubsantrag">
  <task name="wf:rejectedUrlaubsantragTask" swimlane="initiator" />
  <transition name="Complete" to="end" />
  </task-node>
  <end-state name="end" />
  </process-definition>
<?xml version="1.0" encoding="UTF-8"?>

<model name="wf:workflowmodel" 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"/>
  </imports>

  <namespaces>
     <namespace uri="http://www.alfresco.org/model/workflow/1.0" prefix="wf"/>
  </namespaces>
     
  <types>


     <type name="wf:submitUrlaubsantragTask">
        <parent>bpm:startTask</parent>
     </type>


     <type name="wf:reviewPersonalsachbearbeiterTask">
        <parent>bpm:workflowTask</parent>
     </type>
    
     <type name="wf:reviewVorgesetzterTask">
        <parent>bpm:workflowTask</parent>
     </type>

     <type name="wf:approvedUrlaubsantragTask">
        <parent>bpm:workflowTask</parent>
     </type>


     <type name="wf:rejectedUrlaubsantragTask">
        <parent>bpm:workflowTask</parent>
     </type>

     
  </types>
  
</model>
Please help, because i have absolutely no idea whats wrong with my code…

Thx in advance

Outcomes