json-rules-engine icon indicating copy to clipboard operation
json-rules-engine copied to clipboard

A rules engine expressed in JSON

Results 80 json-rules-engine issues
Sort by recently updated
recently updated
newest added

Hello, I am trying to compare an array of objects to check for a specific set of objects to be present in any of them, but not across all of...

If I run the engine sequentially, I am getting the desired result. If I run it in parallel, I am getting results only for the first run. **student-fav-subject.js** ``` const...

Hello @CacheControl, first, thanks for this amazing rules engine library and the great documentation you created. second, I am wondering is there a way to clear all existing rules from...

engine.updateRule(rule) ^ TypeError: engine.updateRule is not a function at Rule. (/home/ashwin/sandbox/json-rules-engine/examples/sandbox.js:86:16) at Rule.EventEmitter.emitAsync (/home/ashwin/sandbox/json-rules-engine/examples/node_modules/eventemitter2/lib/eventemitter2.js:1133:31) at processResult (/home/ashwin/sandbox/json-rules-engine/examples/node_modules/json-rules-engine/dist/rule.js:339:23) at /home/ashwin/sandbox/json-rules-engine/examples/node_modules/json-rules-engine/dist/rule.js:350:18 at async Promise.all (index 0)

Hi, We are going to adopt this library in our project and one of the requirements is to validate the condition which was inputted by the user. Is there any...

If you register an event handler on a specific event (i.e. `Engine.on("my-event", ...)`), the first argument of the method will be the `params` of the `Event` definition (type: `Record`), not...

Hi! I consider this repo as a very helpful design approach! I'm looking forward and have thoughts about admin interface for editing and storing rules. But i think we have...

**PROBLEM** - `UndefinedFactError` is not exported which makes it hard to `catch` - UndefinedFactError.code value is not exported with makes it hard to detect - No tests exist for `UndefinedFactError`...

I've had difficulty expressing certain rules in a readable way without the ability to negate conditions. For instance if I wanted to create a rule saying "trigger an event when...