[jboss-user] [JBoss jBPM] - Re: How to use FindTaskInstances in multiple transitions?

jgreiner do-not-reply at jboss.com
Wed Jun 27 15:45:39 EDT 2007


Here is the java code....


  |             JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();        
  |             jbpmContext = jbpmConfiguration.createJbpmContext();
  |             GraphSession graphSession = jbpmContext.getGraphSession();
  | 
  |             List actors = new Vector(10);
  |             actors.add("user1");
  |             
  |             //  You can use this method against a group or the getTaskList(String) for a specific user.
  |             List<TaskInstance> tasks = jbpmContext.getGroupTaskList(actors);
  |             
  |             for (TaskInstance t : tasks)
  |             {
  |                        // Do whatever you want here.
  |             }
  | 

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

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



More information about the jboss-user mailing list