[jboss-user] [JBoss jBPM] - Ending a process instance and all its sub-process instance.
vineeth.varghese
do-not-reply at jboss.com
Mon Jun 18 09:33:39 EDT 2007
Hi Folks,
I tried searching for any existing queries on this issue but couldn't find any, so posting this.
I have an application that runs with 2 process definition lets say main process 'A' and sub-process 'B'. When process 'A' starts, based on some runtime info one or more instances of sub-process 'B' will be spawned. So at any point in time I will have an instance of process 'A' and 0-n process 'B'. Each of the process definition includes task assignments.
A timer exists in process 'A' to check if the token/task/process is inactive for some X days. If it is found to be inactive, then the required action is to end the token of process 'A' and tokens of sub-process 'B'. Is there any obvious ways to achieve this is jbpm rather than querying all this from the db and programmatically doing this?.
I would also like to know how to end just a subset of the number of process 'B' tokens.
Thanks in advance for your help.
Vineeth.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055219#4055219
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055219
More information about the jboss-user
mailing list