cancel
Showing results for 
Search instead for 
Did you mean: 

Why Active uses Stateful rule execution

agarwalk
Champ in-the-making
Champ in-the-making
I was developing a process and tried to insert a business rule in the process. I created a drools rule and put it there.

While going through the rule execution classes in Activiti engine I found that Activiti uses Stateful  execution.

Can someone tell me why we need to go for this when Stateless seems to be better.

Before making any decision I wanted to be sure of consequences .

Thanks for the help.
1 REPLY 1

trademak
Star Contributor
Star Contributor
Hi,

The integration with Drools for the business rule task was a first version.
I think a stateless implementation is also possible, but I have to look into this a little bit.
Or are you able to create (or do you already have) a patch for this? I would be happy to commit that patch.

Best regards,