-
1. Re: integration with JBoss Rules engine?
anuragpaliwal May 2, 2008 12:40 PM (in response to ppine7)absolutely yes without any doubts.
jBPM provides different action handlers which you can use to do anything you want you do in java. You can call rules or call JMS api or Web services.
I gues in you case, at particuklar decision node you would pass controll to Rules engine to return you approvers chain (which I suppose, would be list of approvers ) and use it in your further processing.
However, defining rules and coding it in excel or DRL is out of scope in jBPM. -
2. Re: integration with JBoss Rules engine?
ppine7 May 2, 2008 4:02 PM (in response to ppine7)Great, thanks a lot for the answer.
I just want to clarify one thing: so, basically, you are saying that it is possible to modify the workflow process definition at run time, yes?
Indeed, this is exactly what I am looking for - to be able, at any point in the execution of one process instance , to modify the rest of the workflow process instance based on the input from , for example, a rule engine.
A good example of this functionality is an Out-Of-Office rule - at each approval step (process node), before sending a notification for approval to the approver, check whether he is out of office, and if so - replace this approver with a new one and possibly modify the rest of the approval chain as well.
Thanks
Marina -
3. Re: integration with JBoss Rules engine?
umquat May 8, 2008 10:19 AM (in response to ppine7)"mpopova" wrote:
Great, thanks a lot for the answer.
I just want to clarify one thing: so, basically, you are saying that it is possible to modify the workflow process definition at run time, yes?
Indeed, this is exactly what I am looking for - to be able, at any point in the execution of one process instance , to modify the rest of the workflow process instance based on the input from , for example, a rule engine.
A good example of this functionality is an Out-Of-Office rule - at each approval step (process node), before sending a notification for approval to the approver, check whether he is out of office, and if so - replace this approver with a new one and possibly modify the rest of the approval chain as well.
Thanks
Marina
I'm learning jBPM but I'm interested in drools as well. This question got me thinking: Why would you want to modify a workflow definition at runtime?
The out-of-office rule seems overkill to me. Why not assign a given task to a group of users, so that anyone could "pick" this task up and execute, instead of going through hoops to check if one given user is in the office or not?
Maybe a better approach would be to define a bigger, more robust workflow? -
4. Re: integration with JBoss Rules engine?
kukeltje May 8, 2008 4:11 PM (in response to ppine7)good advice umquat. People should learn to think out of the box while implementing processes