Michael Wohlfart [
http://community.jboss.org/people/mwohlf] replied to the discussion
"Join jBPM with Domain data"
To view the discussion, visit:
http://community.jboss.org/message/549015#549015
--------------------------------------------------------------
I am also looking for a good solution to this problem.
What I am doing at the moment is keeping a field with the process instance id (dbid) in my
domain object and use a custom hibernate query with a new constructor to dynamically
create objects that contain the joined data from the jBPM task and the domain object.
But this is pretty ugly since you have to do all the user and group checking which the
findPersonalTasks() method is doing yourself inside the hql query, on the other hand you
can do paging and result filtering.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/549015#549015]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]