It is possible to get the outcomes if your current wait node is a task node. 
Since task node is the node for manual tasks, it might somewhat serve your 
purpose. This is the code for getting outcome for a task node:


  | taskService.getOutcomes(task.getId())
  | 

If the wait node is some other wait node like "state" node, then there is no 
standard way to get the outcome. However you can still manage to get them, but 
the code may not look as clean.


  | //executionImpl can be obtained in multiple ways
  | //typically it can be obtained by type casting current process instance
  | //ExecutionImpl executionImpl = (ExecutionImpl)processInstance;
  | executionImpl.getActivity().getOutgoingTransitions();
  | 


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

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

Reply via email to