[jboss-user] [JBoss jBPM] - Re: Finding process instances by vars
Eh, Sometime too much thinking leads to complicating ideas, I just performed a select on the variables, each variable references the process its attached to so it's easy to fetch the process from the loaded var. Asaf. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207083#4207083 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207083 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Finding process instances by vars
uh using joins? subselects? etc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205695#4205695 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205695 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Finding process instances by vars
Yes, I thought so, but I have no idea how to do that since there is no direct association between processinstance->vars, there's a context in the middle that is associated with a MAP of vars, Is there any example or something similar somewhere? Many thanks, Asaf. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205528#4205528 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205528 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Finding process instances by vars
write your own HQL View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205422#4205422 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205422 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Finding process instances by vars
I like storing the data in the process itself, The process itself makes a usage of the process vars (for decisions for example) and it makes my programming much easier (instead of loading few domain models I just load the process and thats it) I have thousands of processes, having almost duplicated entries is not fun to maintain. Well, back to this thread, is there a way to retrieve a process by var? are there any instructions how to do that? It seems to be pretty complicated since there is the context between the process instance and its vars. Any clue? Thanks, Asaf. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205210#4205210 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205210 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Finding process instances by vars
the pattern is to use the business key and retrieve process instances based on that. Store domain data in your domain model and select from there which process instance to retrieve. People still tend to put to much data in the process as well as use the identity module to broadly. I never used the identity module... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199368#4199368 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199368 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Finding process instances by vars
Ronald, in jBPM 4 there is something about that? if not.. can we think some kind of pattern or best practices to achive that? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199363#4199363 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199363 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Finding process instances by vars
no, meaning not with a single api call View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198826#4198826 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198826 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user