This is more of a SEAM question, but if anyone has an answer here I would 
appreciate it.

In the dvd example a process instance is retrieved using an entity bean's id. 
Is jBPM aware of all entity beans or how is it aware that there is a process 
that has an orderId of x value?


ProcessInstance pi = (ProcessInstance) context.getSession()
  |               .createQuery("select pi from LongInstance si join 
si.processInstance pi " +
  |                           "where si.name = 'orderId' and si.value = 
:orderId")
  |               .setLong( "orderId", order.getOrderId() )
  |               .uniqueResult();      


Thread here:

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=87299

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961124
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to