0 Replies Latest reply on Apr 13, 2007 9:37 AM by Ganesh Padhy

    jbpm-liferay integration(in creating time like defintion)

    Ganesh Padhy Newbie


      Hi,
      I am ganesh here,iam facing with this error entering my xml file in textarea (in definition textarea).Thsi is the error showing:


      An error occured while parsing my xml.please check the syntax of my xml.

      <?xml version="1.0" encoding="UTF-8"?>
      
      <process-definition
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:noNamespaceSchemaLocation="http://jbpm.org/xsd/jpdl-3.0.xsd"
       name="DocumentWorkFlow">
       <!-- swimlane declarations -->
       <swimlane name="BusinessTeam">
       <assignment expression="user(John)"/>
       <assignment expression="user(Soumitree)"/>
       <assignment expression="user(Tanveer)"/>
       </swimlane>
       <swimlane name="ProjectManager">
       <assignment expression="user(Vijay)"/>
       </swimlane>
       <swimlane name="SBUHead">
       <assignment expression="user(Aarif)"/>
       </swimlane>
       <swimlane name="FinanceManager">
       <assignment expression="user(Asif)"/>
       </swimlane>
       <!-- end of swimlanes definition -->
       <start-state name="DocumentWorkFlow">
       <task swimlane="BusinessTeam">
      <assignment class="com.liferay.jbpm.handler.Identity Assignment Handler">
      </assignment>
       <controller>
       <variable name="Project Name"/>
       <variable name="Plan Status"/>
       </controller>
       </task>
       <transition name="submit" to="PMAcceptence"></transition>
       </start-state>
       <task-node name="PMAcceptence">
       <task swimlane="ProjectManager">
      <assignment class="com.liferay.jbpm.handler.Identity Assignment Handler">
      </assignment>
       <controller>
       <variable name="Project Name" access="read"/>
       <variable name="Plan Status" access="read"/>
       <variable name="CommentsBy PM"/>
       </controller>
       </task>
       <transition name="Reject" to="PMRejectionReason"></transition>
       <transition name="accept" to="SBUAcceptence"></transition>
       </task-node>
       <task-node name="PMRejectionReason">
       <task swimlane="BusinessTeam">
      <assignment class="com.liferay.jbpm.handler.Identity Assignment Handler">
      </assignment>
       <controller>
       <variable name="Project Name" access="read"/>
       <variable name="Plan Status" access="read"/>
       <variable name="CommentsBy PM" access="read"/>
       </controller>
       </task>
       <transition name="tr1" to="Stop"></transition>
       </task-node>
       <task-node name="SBUAcceptence">
       <task swimlane="SBUHead">
      <assignment class="com.liferay.jbpm.handler.Identity Assignment Handler">
      </assignment>
       <controller>
       <variable name="Project Name" access="read"/>
       <variable name="Plan Status" access="read"/>
       <variable name="CommentsBy PM" access="read"/>
       <variable name="CommentsBy SBUHead"/>
       </controller>
       </task>
       <transition name="Rejected" to="SBURejectionReason"></transition>
       <transition name="Accepted" to="FMAcceptence"></transition>
       </task-node>
       <task-node name="SBURejectionReason">
       <task swimlane="BusinessTeam">
      <assignment class="com.liferay.jbpm.handler.Identity Assignment Handler">
      </assignment>
       <controller>
       <variable name="Project Name" access="read"/>
       <variable name="Plan Status" access="read"/>
       <variable name="CommentsBy PM" access="read"/>
       <variable name="CommentsBy SBUHead" access="read"/>
       </controller>
       </task>
       <transition name="tr1" to="Stop"></transition>
       </task-node>
       <task-node name="FMAcceptence">
       <task swimlane="FinanceManager">
      <assignment class="com.liferay.jbpm.handler.Identity Assignment Handler">
      </assignment>
       <controller>
       <variable name="Project Name" access="read"/>
       <variable name="Plan Status" access="read"/>
       <variable name="CommentsBy PM" access="read"/>
       <variable name="CommentsBy SBUHead" access="read"/>
       <variable name="CommentsBy FM"/>
       </controller>
       </task>
       <transition name="approved" to="DocumentApproved"></transition>
       <transition name="denied" to="DocumentRejected"></transition>
       </task-node>
       <task-node name="DocumentApproved">
       <task swimlane="BusinessTeam">
      <assignment class="com.liferay.jbpm.handler.Identity Assignment Handler">
      </assignment>
       <controller>
       <variable name="Project Name" access="read"/>
       <variable name="Plan Status" access="read"/>
       <variable name="CommentsBy PM" access="read"/>
       <variable name="CommentsBy SBUHead" access="read"/>
       <variable name="CommentsBy FM" access="read"/>
       </controller>
       </task>
       <transition name="tr1" to="Stop"></transition>
       </task-node>
       <task-node name="DocumentRejected">
       <task swimlane="BusinessTeam">
      <assignment class="com.liferay.jbpm.handler.Identity Assignment Handler">
      </assignment>
       <controller>
       <variable name="Project Name" access="read"/>
       <variable name="Plan Status" access="read"/>
       <variable name="CommentsBy PM" access="read"/>
       <variable name="CommentsBy SBUHead" access="read"/>
       <variable name="CommentsBy FM" access="read"/>
       </controller>
       </task>
       <transition name="tr1" to="Stop"></transition>
       </task-node>
       <end-state name="Stop"></end-state>
      </process-definition>
      
      
      
      its very urgent for me,
       plse help guys,tell me the solution..
      
      Regards
      Ganesh