<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16788" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY 
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space" 
bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Christiano,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Take a look at <A 
href="http://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-flow/html/ch09.html">http://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-flow/html/ch09.html</A>&nbsp;for 
more information about human tasks and swimlanes in general.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>So a swimlane can be used to assign human tasks to 
the same actor.&nbsp; Actors are uniquely identified by the actorId.&nbsp; 
Drools Flow itself does not interpret that id, it will just pass the value to 
your task management component of choice.&nbsp; 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).&nbsp; 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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Not sure what you mean by the owner of a 
process.&nbsp; 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?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Kris</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=cvgaviao@gmail.com href="mailto:cvgaviao@gmail.com">Cristiano 
  Gavião</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=rules-users@lists.jboss.org 
  href="mailto:rules-users@lists.jboss.org">Rules Users List</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, February 01, 2009 2:52 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [rules-users] How to associate 
  Actors to one Swimlane ?</DIV>
  <DIV><BR></DIV>Hi,&nbsp;
  <DIV><BR></DIV>
  <DIV>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'.</DIV>
  <DIV><BR></DIV>
  <DIV>And I could see that on class&nbsp;<SPAN class=Apple-style-span 
  style="FONT-SIZE: 11px; FONT-FAMILY: Monaco"><SPAN class=Apple-style-span 
  style="FONT-SIZE: 12px; FONT-FAMILY: Helvetica">org.drools.task.<SPAN 
  class=Apple-style-span 
  style="FONT-SIZE: 11px; FONT-FAMILY: Monaco">TaskServiceSession &nbsp;there 
  are a addUser() and addGroup() methods, but there isn't any relationship 
  between those classes....<SPAN class=Apple-style-span 
  style="FONT-SIZE: 12px; FONT-FAMILY: Helvetica">&nbsp;</SPAN></SPAN></SPAN></SPAN></DIV>
  <DIV><BR></DIV>
  <DIV>
  <DIV>I would like to understand how will Drools Flow treat the relationship 
  betweem Users, Group and Swimlanes.&nbsp;</DIV>
  <DIV><BR></DIV></DIV>
  <DIV>Is the swinlane a conceptual thing mapped by the Group class? And how can 
  Drools Flows knows the Potencial Owner of a process?</DIV>
  <DIV><BR></DIV>
  <DIV>thanks for your help</DIV>
  <DIV><BR></DIV>
  <DIV>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?&nbsp;</DIV>
  <DIV><BR></DIV>
  <DIV>
  <DIV apple-content-edited="true"><SPAN class=Apple-style-span 
  style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0">
  <DIV 
  style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"><SPAN 
  class=Apple-style-span 
  style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">
  <DIV 
  style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"><SPAN 
  class=Apple-style-span 
  style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">
  <DIV 
  style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space">
  <DIV>
  <DIV><BR></DIV>
  <DIV>Cristiano&nbsp;</DIV></DIV></DIV></SPAN></DIV></SPAN></DIV></SPAN></DIV></DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>rules-users mailing 
  list<BR>rules-users@lists.jboss.org<BR>https://lists.jboss.org/mailman/listinfo/rules-users<BR></BLOCKQUOTE></BODY></HTML>