Aditya Gaurav [https://community.jboss.org/people/e3aa3b] created the discussion

"Re: setActorID for Swimlane in JBPM5"

To view the discussion, visit: https://community.jboss.org/message/800295#800295

--------------------------------------------------------------
Hi Maciej,

The issue that I am facing is that actor is not assigned even the first time. 
i.e. when the process gets started, the task is not assigned to anyone (since 
the actor ID and group ID is not set and the same is not passed as a parameter 
to the start Process). Hence even though the Process gets started, it doesnt 
show up in any user's queue.

To summarize, I want that the task should show up in a user (say Mary's queue) 
for tasks belonging to Swimlane1 and to another user's queue (say krisv's 
queue) for tasks belonging to Swimlane2.

One of the ways to do that is by using process variable and then setting them 
before Process instantiation and things work fine in that case. However, if I 
dont follow Process Variable approach and would like to dynamically assign the 
Swimlane to an actor using (setActorID API), the task doesn't show up in any 
user's queue (even though I have set it using setActorID API to krisv/mary).


Thanks
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/800295#800295]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to