[jboss-user] [JBoss jBPM] - Query processes by process variables
tnfink
do-not-reply at jboss.com
Fri Feb 16 11:04:22 EST 2007
Hi,
this is probably something I should solve by myself but after 3h of confusion I thought maybe someone did this already and could give me a hint.
What I like to do is query all the processes in jBPM to find some with a specific variable values. For example, find all processes with "customer=Smith".
This seems like a common use case but I do not find support in the API, I tried to create a Hibernate query but this seems to be not ease. The ProcessInstance is not directly linked to its variables. You have to find the context instance and then it seems that I also have to use the token.
So did someone already solved this and could give me a hint?
Thanks in advance.
-- Torsten
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017697#4017697
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017697
More information about the jboss-user
mailing list