CacheControl / json-rules-engine

A rules engine expressed in JSON
ISC License
2.6k stars 461 forks source link

Ability to stop rules execution after success for array of inputs #360

Open sekhar274 opened 9 months ago

sekhar274 commented 9 months ago

Currently, when we use engine.stop() it will stop entire engine. what if i have 10 rules and running for array of inputs after first rule success i want to stop execution of next.

engine.run(input1) - > after first rule success , i want to stop execution of next rules and run the next input engine.run(input2) engine.run(input3)

I need to stop rules for that particular instead of stopping entire engine