[jboss-user] [JBoss jBPM] - ObjectNotFoundException when starting Execution with Task

khalse do-not-reply at jboss.com
Mon May 25 18:46:07 EDT 2009


I have a simple workflow defined which simply starts with a task.  Deploying the task is not a problem, however when I attempt to start the workflow I get an ObjectNotFoundException from hibernate.  I have followed the execution of code and it appears that there have been no inserts to the JBPM_EXECUTION table before attempting to retrieve a record.

<?xml version="1.0" encoding="UTF-8"?>
  | 
  | <process key="TestTask" name="TestTask">
  | 
  |   <start>
  |     <transition to="review" />
  |   </start>
  | 
  |   <task name="review">
  |      <transition to="wait" />
  |   </task>
  | 
  |   <state name="wait">
  |   	<transition to="end"/>
  |   </state>
  | 	
  |   <end name="end" />
  |       
  | 
  | </process>

Note that I have also tried a similar workflow which started with a state, then went on to a task.  This worked fine as the execution was created following the signal to the initial task.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4233136#4233136

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4233136



More information about the jboss-user mailing list