Hello,
I searched the forum and couldn't find any answer. I have created a new process
definition (based on the websale example) along with tasks and forms. However, when I try
to assign an actor to a task via a swimlane, it doesn't work. The assigned actor is
always "manager", even when i specify the actor to be "shipper" or
"programmer" (I added it to the jbpm_user table in db). I checked out the
database and the actor_id is correct in jbpm_swimlane table; however in the
jbpm_swimlaneinstance table, it is mysteriously always the manager actor id. I am using
JBPM 3.2.1.
Two questions:
(1) Why is assignment not working?
(2) Does assignment even matter? In the websale example, I can login as any user and do
the tasks, even when assigned to a different person.
Here is the process def code:
|
|
| <process-definition xmlns="urn:jbpm.org:jpdl-3.2"
name="cb_9_1">
|
|
| <!-- SWIMLANES (= process roles) -->
| <swimlane name="programmer">
| <assignment actor-id="programmer" />
| </swimlane>
|
| <swimlane name="accountant">
| <assignment actor-id="shipper" />
| </swimlane>
|
| <start-state name="formatting">
| <task swimlane="programmer" />
| <transition to="clean-up"></transition>
| </start-state>
|
| <task-node name="clean-up">
| <task swimlane="accountant" />
| <transition to="create seed list"></transition>
| </task-node>
|
| <task-node name="create seed list">
| <task swimlane="accountant" />
| <transition to="END"></transition>
| </task-node>
|
|
| <end-state name="END"></end-state>
|
|
| </process-definition>
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074231#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...