cancel
Showing results for 
Search instead for 
Did you mean: 

using one rule(.drl file) in multiple process

chehreghani
Champ in-the-making
Champ in-the-making
hi all
i want to share our business rules in process but in activiti we must deploy every rule in process bar file and then we cant manage and maintain rules.
please help me.
2 REPLIES 2

pmsevestre
Champ in-the-making
Champ in-the-making
I think you should factor out the business rule processing into a service that would be called by your different processes. Process archives are supposed to be self-contained. Sharing rules (or any other resource, like forms for instance) would create a big problem if you need to make a change that is required by one process but breaks others…

chehreghani
Champ in-the-making
Champ in-the-making
thanks from your comment
but i'm confused from your comment because when we change on rule we want to change all of process that use from this rule.
and rule must define by business man in rule engine and not in service.