cancel
Showing results for 
Search instead for 
Did you mean: 

Drool With Activiti

arif
Champ in-the-making
Champ in-the-making
Hi friends,

I uploaded my .drl file with my bpmn20.XML as Bar file. its running fine.now I wan to change My business rule at run time without uploading again this file.

So what will be procedure for that?

Please Suggest me.
3 REPLIES 3

trademak
Star Contributor
Star Contributor
Hi,

In the Activiti in Action book I've written an example application that does exactly this.
See http://code.google.com/p/activitiinaction/source/browse/trunk/book-rules-app/
So you can edit deployed rules with that application and deploy the changed ones.
But under the hood it deploys a new BAR file again, and I don't know if that's what you need.
If we would make some changes to Activiti we would also be able to change the rules without the need to redeploy the process definition.
But that requires a bit of work.

Best regards,

arif
Champ in-the-making
Champ in-the-making
Hi there,

I am trying to execute example which you have given in Your Book, "Activiti in Action"  for Edit deployed rule.

Once i try to execute it, it runs fine with jetty.  but when i try to deploy edited rule. it is not editing anything in rule file.

i got error in my console. nothing changes happens.


response>>>HTTP/1.1 500 Internal Server Error

Please help me for this.

thanks and regards

trademak
Star Contributor
Star Contributor
Hi,

It expects the Activiti REST application to run as well. That's how it deploys something to the Activiti Engine.

Best regards,