json-rules-engine
json-rules-engine copied to clipboard
A rules engine expressed in JSON
We're running into issues where our facts are based on transactional access to a database. When we try to properly decompose our rules into multiple facts, we hit problems where...
First of all great product. i think there is a small mistake in the coding if i am not mistaken it should be product.giftCard=== params.giftCard https://github.com/CacheControl/json-rules-engine/blob/90272d61ed7bea8b7d4000305511e932490d2e2e/examples/08-fact-comparison.js#L69
Is it possible to use the result of a fact in the fired event message for a rule? I've searched the documentation, examples and existing issues and not quite found...
I have seen some strange happenings with regard to how the JSON-PATH is resolving in the rules with `"json-rules-engine": "6.1.2"`. If you consider the following rule: ```JSON { "ruleId": 1,...
We need full support for NOT operators for arbitrary complexity
How can I return different event params depending on whether the rule succeeds or not? Thanks
Minor style edits. Thank you for this very helpful project! 👋
**Example:** ``` conditions: { all: [{ fact: 'account-information', operator: 'equal', value: 'microsoft', // **Is it possible make this value 'microsoft' as a dynamic content?** path: '$.company' // access the 'company'...
Is posible to have an async operator?
I am having a use case scenario where I have a very simple rule that is run against provided fact(s). When I run the engine, I notice that on success...