noolsjs / nools

Rete based rules engine written in javascript
http://noolsjs.com/
MIT License
949 stars 181 forks source link

Updating rules in a flow #188

Open AdamAbrams opened 8 years ago

AdamAbrams commented 8 years ago

Once I create a flow with a few rules, I start getting a stream of new, updated and removed rules.

I know I can add new rules to an existing flow, but can I update and remove existing ones?

taoqf commented 8 years ago

You do not need to update the rules, and you can not do it as i know, but you can remove and recreate a new rule with the same name after you delete the flow. like this

nools.deleteFlow(flow.name);
DevSide commented 8 years ago

132