[jboss-user] [jBPM Users] - Re: extending taskquery

sravyts do-not-reply at jboss.com
Mon Sep 14 06:59:27 EDT 2009

This my situation:

I have a processInstance which has a variable "objectId" which points to an id of an object in our domain model.

Now I want to query for all tasks for which the object's name referenced by "objectId" in the variables is a given value.

Any suggestions on how to do this without using a query on both our object's table and the task/variables table?
Iterating over all tasks, getting the objectId from the variables, quering the object and seeing if the name is what we are looking for, seems not to be the best way, don't you agree?
Maybe I'm overlooking some other solution?


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255044#4255044

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4255044

More information about the jboss-user mailing list