NRule Engine for continuous rule invocations

61 views
Skip to first unread message

harsh nanchahal

unread,
Feb 28, 2019, 4:07:41 PM2/28/19
to NRules Users
Ok so here is my usecase....

I am trying to leverage Nrule to match against an event metadata and invoke actions with data embedded within the event. Because i will be continuously looking for events, i need to run say in a Windows service where once the session is created, i can iteratively query for facts, insert the facts and fire the session.

The question is, once i fire, the fact is still there in memory. When i fire in the loop the fact will fire the rule indefinitely. Whats the alternative here?

Do i create a windows service that wakes up every few seconds, creates a new session, extracts the facts from event, submits the facts and then fire the session?

Regards
Harsh Nanchahal


Sergiy Nikolayev

unread,
Feb 28, 2019, 10:35:02 PM2/28/19
to NRules Users
Answered on gitter chat
Reply all
Reply to author
Forward
0 new messages