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
--------------------------------------------------------------
Hi,
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:
"Accounting|Supervisor"
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
[
https://community.jboss.org/message/778524#778524]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]