[rules-users] Error in named query: ProcessInstancesWaitingForEvent

dan.danciu ddanciuster at gmail.com
Tue Oct 5 07:56:45 EDT 2010


Hi,
I had the same problem, but after downloading the Drools Source Code (for
5.1.1) and looking in:
drools-5.1.1-src.zip\drools-persistence-jpa\src\test\resources\META-INF\orm.xml
I found the answer, the correct query is: 

select 
    processInstanceInfo.processInstanceId
from 
    ProcessInstanceInfo processInstanceInfo
where
    :type in elements(processInstanceInfo.eventTypes)

Have fun,
Dan
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Error-in-named-query-ProcessInstancesWaitingForEvent-tp1577013p1635461.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list