[jboss-user] [jBPM] - Is it possible to create task with multiple groupId constraint?

Thomas Setiabudi do-not-reply at jboss.com
Tue Nov 27 05:36:37 EST 2012

Thomas Setiabudi [https://community.jboss.org/people/thomas.setiabudi] created the discussion

"Is it possible to create task with multiple groupId constraint?"

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


Lets say we have two user grouping tables:
1. UserDepartment -> this table maps user with department like Accounting, Human Resource, or Marketing. sample record would be: (thomas, Accounting)
2. UserJobTitle -> this table maps user with job title like staff, supervisor, or manager. sample record would be: (thomas, Supervisor)

Now, we have a human task in our process, the human task can be done by any Supervisor in Accounting department.

How do we do it?

Based on IRC chat with Maciej: By Default Group Assignment is based on OR operator

The only workaround that I can use for now is to manipulate the group name, concatenate it to one single String like this:


That works, but it adds more complication as we have more and more group combination, lets say instead of those two groups, we have three more tables.

Any idea?

Is it a good candidate to ask a feature request for this requirement?

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/20121127/d6cf27cf/attachment.html 

More information about the jboss-user mailing list