No, I haven't tried it yet.  I'm just now building the test case on how to do 
this.

After reading your last statement, I went back to the Javadoc and did find a 
way to assign an actor to the TaskInstance.  Thanks!!!


  |                   TaskMgmtInstance tmi = 
executionContext.getTaskMgmtInstance();
  |                   for (int i = 1; i<userList.size(); i++) {
  |                       TaskInstance taskInstance = 
tmi.createTaskInstance(task, executionContext.getToken());
  |                       taskInstance.setActorId(userList.get(i));
  |                   }
  | 

Now, however, I'm running into the problem of removing the task assigned to the 
actor.  Too bad there isn't a .getUnfinishedTasks(actorId).  I guess I'll just 
have to iterate through all the unfinished tasks, and look at each assigned 
actorId, and remove that specific task.

Thanks Ronald!

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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to