Let's say I want to set the value of a business process variable based on what the high temp was predicted to be that day.
If the high is predicted to be above 70 degrees F then send out ice. If the high is predicted to be below 40 degrees then send out hot coals. Do nothing if the temperature is between 40 and 70.
I want to create a business process and deploy it and then leave it alone. In other words I do not want to change the business process every day based on what the high was predicted to be.
As I understand this is what drools is good for - making the business logic flexible without deploying a new business process.
My confusion: I see that you have to compile your drools package and deploy it as a resource in the bar file of a business process.
I think there is something here I don't understand???
That's correct. If you want that support it would be better to use a remote Drools server, and connect to that. That's something we could support in Activiti as well, but we haven't had much community request for this yet. In the current version a hack would be to change the byte array of the Drools file yourself. I know that's hack 😉