ok, i just wanted to post that i solved my problem. I just have to make sure 
that i use the jbpmContext out of the executionContext of my action. 

CancelProcessInstanceCommand cpic = new 
CancelProcessInstanceCommand(task.getProcessInstance().getId());
  |             cpic.setCancelSubProcesses(true);
  |             try {
  |                     cpic.execute(executionContext.getJbpmContext());
  |             } catch (Exception e) {
  |                     // what ever... 
  |             }



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064060
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to