-
1. Re: JBPM Documentation
kukeltje Jul 13, 2009 6:15 AM (in response to sushantgupta402)http://www.packtpub.com/jboss-jbpm/book (from google)
For 4 there are no books yet. But the sourcecode (examples in the jBPM download) are very good starting points -
2. Re: JBPM Documentation
sushantgupta402 Jul 13, 2009 7:21 AM (in response to sushantgupta402)Hi Ronald thanks for the reply the book you have suggested is good but doesn't speak much about the jPDL moreover the book's title itself says that it is mainly for business analysts. If you have any idea can you please explain how can I figure out if all the subrocesses has ended before moving ahead with the main process.
-
3. Re: JBPM Documentation
kukeltje Jul 13, 2009 7:49 AM (in response to sushantgupta402)uhmmm... that should be trivial if you model it that way.... nothing special to do. A sub process node in the main process continues if the subprocess itself is ended.
-
4. Re: JBPM Documentation
sushantgupta402 Jul 13, 2009 9:36 AM (in response to sushantgupta402)Yes you are right that if a subprocess is ended it will take due care to notify the parent but how about multiple subprocesses? In case of multiple subprocesses each one signals the parent and that creates a problem. Luckily I figured out the way but there is one more problem. Here is the business scenario see if you can help:
From a node I have to spwan multiple (read variable number of process else I could have used fork) processes and same number of tasks. What I am doing is creating multiple task from a node and from task-create event I am creating multiple sub process. Am I doing it corretly or you have a better suggestion? -
5. Re: JBPM Documentation
kukeltje Jul 13, 2009 12:13 PM (in response to sushantgupta402)No, it does not create a problem. It does not signal the parent process, it notifies the sub process node in the parent process to continue. Only that specific node.
So what you want is to use the for each forkhandler construction but with subprocess nodes instead of tasks. That creates a sub-process node for each 'virtual' path. -
6. Re: JBPM Documentation
sushantgupta402 Jul 13, 2009 1:50 PM (in response to sushantgupta402)"it notifies the sub process" this means it signals the process state node to continue. So here what we have to do is manually figure out if all the sub processes has ended if not then we have to put the execution back to the process state node.
"So what you want is to use the for each forkhandler construction but with subprocess nodes instead of tasks. That creates a sub-process node for each 'virtual' path." Do you have a code to illustrate this? -