I'm not having success with your suggestions.



The configuration below allows creation of tasks upon entering the 
NotifyApprovers 
node but the node does not block and the Assignment handler is never called.
I can view the tasks by accessing the (terminated) process instance by calling

  |     ProcessInstance pi
  |     pi.getTaskMgmtInstance().getTaskInstances()
  | 


  |    <task-node name="NotifyApprovers" create-tasks="false" signal="true">
  |       <task name="ApproveDocument" blocking="true">
  |          <assignment 
class="workflow.assignment.ApproveDocumentAssignmentHandler" 
config-type="bean"></assignment>
  |       </task>
  |       <event type="node-enter">
  |          <action name="CreateTasks" 
class="workflow.action.CreateApproverTasksAction" config-type="bean"></action>
  |       </event>
  |       <transition name="Process" to="ExecuteDocument"></transition>
  |    </task-node>
  | 

Is there something specific I need to do when creating my tasks that would
enable blocking at the task-node?


The configuration below blocks upon entering the NotifyApprovers node and 
calls the Assignment handler.  An ApproveDocument task is created but not 
filled with any data (everything except the name is null or empty) and I 
cannot access the task through the process instance.  Calling


  |     ProcessInstance pi
  |     pi.getTaskMgmtInstance().getTaskInstances()
  | 
        
generates an exception.

org.hibernate.HibernateException: null index column for collection: 
org.jbpm.graph.exe.ProcessInstance.instances


  |    <task-node name="NotifyApprovers">
  |       <task name="ApproveDocument">
  |          <assignment 
class="workflow.assignment.ApproveDocumentAssignmentHandler" 
config-type="bean"></assignment>
  |       </task>
  |       <transition name="Process" to="ExecuteDocument"></transition>
  |    </task-node>
  | 



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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to