-
1. % check go through a process task
salaboy21 Jan 17, 2011 3:35 PM (in response to new-comer)Yes of course you can model your process with multiple gateways to check for the %. If you need a more advanced solution you can use business rules to create dynamic branches of your process depending the %.
Greetings
-
2. % check go through a process task
new-comer Jan 17, 2011 3:47 PM (in response to salaboy21)Hi Mauricio,
Thank you very much for your quick response, can you be more specific on how to use business rules to create a dynamic branches of the process depending on the %? If you can point me to some document, it would be really helpful.
I am new to JBPM, So I may have some silly questions on the way :-). If I do, please forgive me.
BTW, I am using JBPM5.
Thanks again.
-
3. % check go through a process task
salaboy21 Jan 17, 2011 3:59 PM (in response to new-comer)You have two simple options:
1) Create new process instance dynamically based on the % that you have for a specific instance. So you will end up having multiple rules that evaluate different values of the % and based on that create a new instance of a specific process.
2) you can have a complex gateway that select a different path depending the value of the %.
The third but more complicate option could be:
Create dynamic Human Tasks based on a rule that evaluates the value of the %. This task will be created dynamically and using a Complex Converging Gateway you can wait for all the dyncamic task to be completed.
I don't have any example of this, but if you have a specific use case I can help with the solution design. If you want to share your use case privately go ahead and send me a private message.. if you can share it with all I will be glad to help.
Greetings
-
4. % check go through a process task
new-comer Jan 17, 2011 4:05 PM (in response to salaboy21)Hi Mauricio,
Appreciate your kind offer, I will send you a private message after our requirement is finalized.
I will be really interested in how to make it work without writing code on our own :-).
Thanks again for your quick and helpful response.
-
5. % check go through a process task
salaboy21 Jan 17, 2011 4:08 PM (in response to new-comer)Sounds as a good challange
I will be waiting your PM.
Greetings!
-
6. % check go through a process task
new-comer Jan 17, 2011 4:27 PM (in response to salaboy21)Sure, thanks, I will ask your help later .
-
7. % check go through a process task
krisverlaenen Jan 17, 2011 10:08 PM (in response to new-comer)You could take a look at the ad hoc sub-process for advanced processes where parts of the proces might or might not be executed based on some constraints or user selection.
http://kverlaen.blogspot.com/2010/10/towards-case-management.html
https://github.com/krisv/jbpm/blob/master/jbpm-bpmn2/src/test/resources/BPMN2-AdHocSubProcess.bpmn2
Kris
-
8. % check go through a process task
new-comer Jan 17, 2011 11:22 PM (in response to krisverlaenen)Hi Kris,
Thanks for the links, I will definitely check out the links that you sent!
Thanks again.