[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    [jboss-user] [jBPM Users] - Re: TaskQuery w/ ProcessInstanceId
From:       "emp.tyres" <do-not-reply () jboss ! com>
Date:       2009-12-11 15:51:02
Message-ID: 32499661.1260546662424.JavaMail.jboss () nukes01 ! app ! mwc ! hst ! phx2 ! redhat ! com
[Download RAW message or body]

Short story long: if a user starts process SUPER with key = 12, and this forks a \
subprocess, how can i gather all tasks for key 12, including those that SUPER forked?

I see only 2 options:

a. the key is transferred to the subprocess (because it has a domain modeling) - \
HOWEVER, if I understand correctly, jbpm does not allow of searching by process \
variable, so this is a no-go unless you can loop application-wise through all of the \
tasks calling getProcessVariables() and comparing them to the needed one. 

b. tasks for a certain user can be found in subprocesses in some way - and for the \
sake of me, I am not being able to do this...

Anyone else that has faced this? Maybe I'm getting this all wrong... 

PS - this is triggered because if I understand this correctly, subprocessing is \
available not just because of domain modeling, but also for convenience (e.g.  \
versioning with a finer granularity or breaking up of large processes for \
readability). This would not be understandable to the end user...

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic