Discussion:
[jboss-user] [jBPM] - Hierarchy in jBPM 5?
roxy1987
2013-01-11 23:18:52 UTC
Permalink
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Hierarchy in jBPM 5?"

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

--------------------------------------------------------------
Hi
Can we maintain hierarchy between the groups in jbpm5? I am talking about the relationship between , say, a group of employees and a user from manager group.

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

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

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Maciej Swiderski
2013-01-12 09:27:45 UTC
Permalink
Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Hierarchy in jBPM 5?"

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

--------------------------------------------------------------
could you be little bit more specific?

there is http://docs.jboss.org/jbpm/v5.4/javadocs/org/jbpm/task/identity/UserGroupCallback.html UserGroupCallback interface that might of help here.

HTH
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
roxy1987
2013-01-14 14:36:51 UTC
Permalink
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Hierarchy in jBPM 5?"

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

--------------------------------------------------------------
Thanks Maciej.

See what I am looking to achieve is for a manager to be able to view the tasks of the employees he is senior to.
Eg. Say there is a group called manager with 2 users, manager1 and manager2. and There is another group say employee with 2 users emp1, emp2. Manager1 is manager of emp1 and should be allowed to view his tasks. and same for manager2.
So is there a feature to maintain such mapping between group users?
The same can be achieved in IBM ProcessServer and hence is a requirement I need to work on. If not then I would need to maintain external mapping.
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Maciej Swiderski
2013-01-14 17:38:33 UTC
Permalink
Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Hierarchy in jBPM 5?"

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

--------------------------------------------------------------
ok, now I got it, thanks for explanation :)

one way of doing it could be to utilize additional participants in the task life cycle defined by WS-HT spec, for instance task stake holders. And then you can query for tasks that are assigned for task stakeholders using method: taskClient.getTasksAssignedAsTaskStakeholder

unfortunately task stake holders are not filled in by out of the box HT work item handlers in 5.4, it was added after the release so you need to extend them to accommodate such feature.

HTH
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
roxy1987
2013-01-14 19:22:06 UTC
Permalink
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Hierarchy in jBPM 5?"

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

--------------------------------------------------------------
Ok. Thanks :)
--------------------------------------------------------------

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

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