CacheControl/json-rules-engine

Ability to stop rules execution after success for array of inputs

sekhar274 opened this issue · 0 comments

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