[jboss-dev-forums] [Design of JBoss jBPM] - Re: Process/task search based on variables
kukeltje
do-not-reply at jboss.com
Wed Oct 1 05:35:38 EDT 2008
Fero,
Most of the time when this is needed, to many domain data is put in the process engine. You should put as many data as possible in your own domain model and have a reference to the corresponding processdefinition by using a business key (e.g. licenceplate, ssn, or something). You filter in your domain model then any way you like and use businesskeys then to retrieve tasks for the corresponding processinstances. Maybe a method like getTasksForUserInProcessInstance(String actorid, Long[] processInstanceIds) would help then.
hth and shoot if you disagree
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179727#4179727
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179727
More information about the jboss-dev-forums
mailing list