I got it sort of working using following HQL:
select ti from org.jbpm.taskmgmt.exe.TaskInstance ti ,
org.jbpm.context.exe.variableinstance.StringInstance si WHERE ( ( ti.processInstance.id
= si.processInstance.id AND si.name = :_name_number1 AND si.value = :_value_number1 ) OR
( ti.processInstance.id = si.processInstance.id AND si.name = :_name_assignedTo AND
si.value = :_value_assignedTo ) ) with args {_value_number1=1, _name_number1=number1,
_name_assignedTo=assignedTo, _value_assignedTo=user0}
But I am not sure if there is a better way to do this?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241613#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...