[jboss-user] [jBPM] - Re: setActorID for Swimlane in JBPM5

Aditya Gaurav do-not-reply at jboss.com
Fri Mar 1 08:44:49 EST 2013

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).


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130301/288415b5/attachment.html 

More information about the jboss-user mailing list