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

We are using the functionality to allow the LHS attribute to be compared to a RHS attribute (demonstrated in [this example](https://github.com/CacheControl/json-rules-engine/blob/90272d61ed7bea8b7d4000305511e932490d2e2e/examples/08-fact-comparison.js)) but noticed that in the rule result, only the...

Is it possible to check for an array being (not) empty as a fact value? Or, perhaps it would be more flexible to be able to do array length comparisons?

I'm not sure the proper place to ask this question but I was wondering whether there are any projects that provide query conversions from rules. My use case is elastic...

is it posible to implement a `not` boolean expression? Example: ``` conditions: { not: { all: [{ fact: 'gameDuration', operator: 'equal', value: 40 }, { fact: 'personalFoulCount', operator: 'greaterThanInclusive', value:...

Here's my example, you can reproduce the issue with the code: `const customAttributeRule = { "name": "allowUndefinedFacts-test", "attributes": [ { "name": "Astring", "type": "string" }, { "name": "Bnumber", "type": "number"...

I really liked the Json Rules Engine. It would be good if record object is also pushed as input to operator so that one can compare relative value from the...

Hey, I am following your repo for a long time and I used this engine some of my projects. Great project man! And I couldn't hold my self to build...

The `rule.js` recently refactored the `rule.event` property to `rule.ruleEvent` (80e84b3ada7df7fca20aba21e37d8b5ee4257023) but there were no corresponding updates to the types when using the types accessing the property directly does not work...

Let's say we have the following Fact: ``` { "firstName": "John", "lastName" : "doe", "age" : 26, "address" : { "streetAddress": "naist street", "city" : "Nara", "postalCode" : "630-0192" },...

Ran across a use case where i wanted to know if a date was at least 5 minutes greater than another date. But if I have other cases like 10...

enhancement