[jboss-user] [JBoss jBPM] - Swimlane, actor-id, tasks
sdore
do-not-reply at jboss.com
Mon Oct 22 07:11:24 EDT 2007
Hi everyone,
i'm try to understand the logic that jbpm assigns tasks to user/group.
In my application i defined 2 swimlanes :
<assignment actor-id="marketing">
<assignment actor-id="pmar">
and i define 2 tasks...
<start-state name="Richiesta">
| <task name="Digitazione richiesta" swimlane="swimlane_banca">
| <controller>
| <variable access="read,write,required" name="Descrizione" mapped-name="Descrizione Richiesta"></variable>
| </controller>
| </task>
| <transition to="Valutazione" name="to Valutazione"></transition>
| </start-state>
|
|
| <task-node name="Valutazione">
| <task name="Valutazione" swimlane="swimlane_numera">
| <controller>
| <variable access="read" name="Descrizione" mapped-name="Descrizione Richiesta"></variable>
| <variable access="read,write,required" name="tempo" mapped-name="tempo di lavoro"></variable>
| </controller>
| </task>
| <transition to="Accettazione" name="to Accettazione"></transition>
| <transition to="Preview" name="to Preview"></transition>
| </task-node>
|
So i create a task "Digitazione Richiesta" assigned to user "Marketing" and a task "Valutazione" assigned to user "pmar".
But if i log-in in the jbpm-console like "pmar" i can execute task like marketing and viceversa. So, where am i wrong?
Thx in advanced and... Please Hekp me! I've spent so much time about it :/
salvatore
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097407#4097407
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097407
More information about the jboss-user
mailing list