1 Reply Latest reply on Jan 19, 2009 7:46 PM by mr.sathya

    Task is not visible to the assigned user in JBpm-3.2.2

    mr.sathya

      Hi..

      I am using jbpm-jpdl-suite-3.2.2.

      I developed one process archive.and i deployed the process archive using admin console.

      This is my processdefinition.xml

      <?xml version="1.0" encoding="UTF-8"?>
      
      <process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="LeaveProcessFlow">
      
       <swimlane name="Employee">
       <assignment expression="user(user)"></assignment>
       </swimlane>
       <swimlane name="manager">
       <assignment expression="user(manager)"></assignment>
       </swimlane>
       <start-state name="leaveRequisitionForm">
       <task name="leaveForm" swimlane="Employee">
       <controller>
       <variable name="EmpId"/>
       <variable name="Name"/>
       <variable name="Start Date"/>
       <variable name="End Date"/>
       <variable name="Reason"/>
       </controller>
       </task>
       <transition name="Submit" to="ForPMAcceptance"></transition>
       </start-state>
      
      
       <task-node name="ForPMAcceptance">
       <task name="leaveForm Approval" swimlane="manager">
       <controller>
       <variable name="EmpId" access="read"/>
       <variable name="Name" access="read"/>
       <variable name="Start Date" access="read"/>
       <variable name="End Date" access="read"/>
       <variable name="Reason" access="read"/>
       <variable name="Comments" access="read,write,required"/>
       </controller>
       </task>
       <transition to="acceptanceMail" name="accept"></transition>
       <transition to="rejectionMail" name="reject"></transition>
       </task-node>
      
       <mail-node name="acceptanceMail">
       <transition to="AcceptanceReason"></transition>
       </mail-node>
      
       <mail-node name="rejectionMail">
       <transition to="RejectReason"></transition>
       </mail-node>
      
       <task-node name="RejectReason">
       <task swimlane="Employee">
       <controller>
       <variable name="EmpId" access="read"/>
       <variable name="Name" access="read"/>
       <variable name="Start Date" access="read"/>
       <variable name="End Date" access="read"/>
       <variable name="Reason" access="read"/>
       <variable name="Comments" access="read"/>
       </controller>
       </task>
       <transition to="endprocess"></transition>
       </task-node>
      
       <task-node name="AcceptanceReason">
       <task swimlane="Employee">
       <controller>
       <variable name="EmpId" access="read"/>
       <variable name="Name" access="read"/>
       <variable name="Start Date" access="read"/>
       <variable name="End Date" access="read"/>
       <variable name="Reason" access="read"/>
       <variable name="Comments" access="read"/>
       </controller>
       </task>
       <transition to="endprocess"></transition>
       </task-node>
      
      
       <end-state name="endprocess"></end-state>
      
      
      </process-definition>


      it is deployed successfully..
      But when i login as a user,it is showing the process.and i can able to start the process.but when i click on examine it is showing task page ie. the Page to give the input variables..

      pls help me...

      Regards,
      Ganesh