cancel
Showing results for 
Search instead for 
Did you mean: 

Manage simple transitions

roseta
Champ in-the-making
Champ in-the-making
I've created in my process definition a task-node with 2 simple transitions: approve and reject, eveything works fine, but when I run my workflow I can not see any "button" or "selection" where I could choose betwen approve or reject the task in order to go to the next node or another node. Here is my little piece of code:

   



<task-node name="myNode">     
<task name="mywf:myTask" swimlane="assignee"></task>
     <transition name="next " to="completed"> </transition>
     <transition name="reject" to="end"> </transition>
</task-node>




Do I have to write anything else? Can anyone help me, please?
1 REPLY 1

evan
Champ in-the-making
Champ in-the-making
Hi friend ,

     you can try to add something in "web-client-config-custom.xml" as :

<config evaluator="node-type" condition="wf:evanTask" replace="true">

     <property-sheet>

        <separator name="sep1" display-label-id="general" component-generator="HeaderSeparatorGenerator" />

        <show-property name="bpm:workflowDescription" component-generator="TextAreaGenerator" />

        <show-property name="bpm:workflowPriority" />

        <show-property name="bpm:workflowDueDate" />     

        <show-property name="wf:duration" />

        <show-property name="wf:cause" component-generator="TextAreaGenerator"/>    

        <show-property name="wf:approve" />

   <show-property name="wf:reject" />

     </property-sheet>

  </config>
my workflow is save at "/opt/Alfresco/tomcat/shared/classes/alfresco/extension/" , so the "web-client-config-custom.xml" you can find in extension.

Good luck!