[jboss-user] [jBPM] - Re: Trying to set ActorId in On Entry Action - work item is null

Maciej Swiderski do-not-reply at jboss.com
Thu Jan 26 01:53:54 EST 2012

Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Trying to set ActorId in On Entry Action - work item is null"

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

Yes, on onEntry event work item is not yet created - unfortunately.

Just wondering what you are trying to achieve with the code above... since if you use group id as main assignment criteria and then add actor id (meaning there will be both group and actor) it wil not assign the task to that actor only. Task will be available for all of them.

I can see two options here:
* use a XOR gateway and two user tasks (one for manager and one for group)
* use one userTask and make it only group assignable and one of the group will be a manager's group (with possible only one member) and make GroupId to be set from process variable that you can modify during process instance flow.


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/20120126/8f6ade0b/attachment.html 

More information about the jboss-user mailing list