rules icon indicating copy to clipboard operation
rules copied to clipboard

Is it possible to run custom code in run/runAsync?

Open radiantone opened this issue 4 years ago • 2 comments

Hi, Mostly, in the docs here as a consequent to a rule, I see console.log and assert() with some occasional other calls.

In a custom application using rules it is necessary to invoke other objects and fire events to allow business logic to react to the rule. This, to me, would be the whole purpose of a rules engine. To trigger real business logic.

Is this possible? So far, I cannot make calls to in scope objects in a consequent.

Is this by design? Why is this? thank you

radiantone avatar Oct 25 '20 14:10 radiantone

may be this project closed.

introspection3 avatar Feb 13 '21 09:02 introspection3

I made my own rules engine on github. Called inferencegraph

Does what I need

radiantone avatar Feb 13 '21 14:02 radiantone