Christiano,
 
Take a look at http://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-flow/html/ch09.html for more information about human tasks and swimlanes in general.
 
So a swimlane can be used to assign human tasks to the same actor.  Actors are uniquely identified by the actorId.  Drools Flow itself does not interpret that id, it will just pass the value to your task management component of choice.  If you use our WS-HumanTask-based implementation, we require that all valid actor ids are registered at the task service (using the addUser method).  So in that case the actorId you use in your process should exist in the task service, otherwise you will get an error when trying to create the task.
 
Not sure what you mean by the owner of a process.  If your process has a concept of owner of that specific process instance (which not all processes have), you could for example model that as a variable "owner" and assign the owner a value when starting the process?
 
Kris
 
----- Original Message -----
From: Cristiano Gavião
To: Rules Users List
Sent: Sunday, February 01, 2009 2:52 PM
Subject: [rules-users] How to associate Actors to one Swimlane ?

Hi, 

I was looking at Flows Diagram properties and I could see the 'swinlanes' property. In the human task properties I could see the properties 'swimlane' and 'actorId'.

And I could see that on class org.drools.task.TaskServiceSession  there are a addUser() and addGroup() methods, but there isn't any relationship between those classes.... 

I would like to understand how will Drools Flow treat the relationship betweem Users, Group and Swimlanes. 

Is the swinlane a conceptual thing mapped by the Group class? And how can Drools Flows knows the Potencial Owner of a process?

thanks for your help

ps. Im building a little swing example application for testing the flows and human tasks capabilities (connecting to flows server, open a session, fire some process, etc). After I've it done and if you guys wanted I could share it. How is the best way to do that? 


Cristiano 


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users