cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Business Rule Task

brewmaster
Champ in-the-making
Champ in-the-making
Hello,

I am new to BPM and Activiti and am in the process of developing a new business process using Activiti. I have created a very simple proof of concept process consisting of a Business Rules Task and a User Task. I've implemented some Drools rules and everything is working great.

One of our client's requirements is that they be able to change the rules dynamically. We need to be able to update the Drools without having the redeploy the business process. I was wondering if this is possible with Activiti out of the box, or if anyone has tried this before?

I understand jBPM has functionality which periodically polls a Git repository and automatically pulls the latest version of rules, and changes them dynamically at runtime. If jBPM and Activiti are using the same rules engine under the hood, then would similar functionality be possible with Activiti?

Thanks a lot!

Sean
3 REPLIES 3

trademak
Star Contributor
Star Contributor
Hi Sean,

By default the Activiti Drools integration uses an embedded Drools. But you could create a service task that uses a remote call to a Drools repository instead. In that way you can manage the rules independent from the process definition.

Best regards,

brewmaster
Champ in-the-making
Champ in-the-making
Hi Tijs,

Thanks for the advice, I'll look into creating my own service task.

Does Activiti integrate with any rules repositories, like Guvnor? I think I will try and create a service task which can talk with Guvnor.

Cheers

Sean

jbarrez
Star Contributor
Star Contributor
No, we don't have that kind of integration at the moment.