1 Reply Latest reply on Dec 3, 2009 9:48 PM by Ronald van Kuijk

    JBPM User Task - Forms

    Rocker Rocker Newbie

      Hi,

      Background --
      I am using JBPM 4.2 and I am able to deploy, start simple processes i.e. from one task to another using decisions, java etc.
      I am not using JBPM provided Console, and have built a self made simple console to check the status of each process.

      Problem --
      I am trying to run a process which will involve human task. So started with task form example provided with JBPM.

      The process is deployed successfully but when it starts, it does not invoke the '.ftl' file. How should i get this working ? The status shows start time but no end time

      My files (*.jpdl.xml and *.ftl) are in "WEB-INF/classes/com/jbpm/test/process/" folder in my war.

      JPDL

      <?xml version="1.0" encoding="UTF-8"?>
      
      <process name="VacationRequest" xmlns="http://jbpm.org/4.2/jpdl">
       <start form="com/jbpm/test/process/request_vacation.ftl" g="16,56,48,48" name="start">
       <transition to="verify_request"/>
       </start>
       <task form="com/jbpm/test/process/verify_request.ftl" g="96,54,178,52" name="verify_request">
       <transition g="-34,9" name="reject" to="vacation_rejected"/>
       <transition g="-46,-26" name="accept" to="vacation_accepted"/>
       </task>
       <end g="306,16,48,48" name="vacation_accepted"/>
       <end g="306,96,48,48" name="vacation_rejected"/>
      </process>