cancel
Showing results for 
Search instead for 
Did you mean: 

Isolating Drools execution

ervansetiawan
Champ in-the-making
Champ in-the-making
First, thank you for adding the multi-tenant support in Activiti!

My question is about the BusinessRuleTask, specifically the Drools and Activiti integration. Does anyone here have any recommendations or experiences on how to isolate the Drools execution from the Activiti process engine? For example when someone accidentally deploys a self-loop Drools that can cause the whole JVM to hang. What is the best way to protect the process engine from that scenario?

Is using ServiceTask to externalize the business rules the only option?

Thanks!
1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

You could decouple rule evaluation and process execution. For example implement rules evaluation as an independent service which can be called from process engine (with some timeout).

Regards
Martin
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.