Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The interesting par of it is getHistoryContainer which gives the list of event happening. There are 3 types of event ; about facts, processes and rules

Fact Events

Image RemovedImage Added

 

DeletedFactHistoryEventEach time there is a retracted object in the working memory (session) from java or from RHS (then), this event is added
InsertedFactHistoryEventEach time there is an inserted object in the working memory (session) from java from  RHS (then) of a rule, this event is added
UpdatedFactHistoryEventEach time there is an upaded object in the working memory (session) from java or from RHS (then), this event is added

 

 

Process Events

Image RemovedImage Added

 

NodeInstanceAfterHistoryEventThis event is fired when leaving a node
NodeInstanceBeforeHistoryEventThis event is fired when entering a node
ProcessStartHistoryEventWhen a process is started
ProcessEndHistoryEventWhen a process is stoped

Our current implementation is enough when using BPMN2 process for ruleflow (see below). We shall improve it in the future

Jira Legacy
serverJIRA (chtijbug.atlassian.net)
keyDROOLS-7

Rule Events

 

 

Image RemovedImage Added

 

 

 

AfterRuleFlowActivatedHistoryEventEvent is fired when entering a ruleFlow group
AfterRuleFlowDeativatedHistoryEventEvent is fired when leaving a ruleflow group
AfterRuleFiredHistoryEventEvent fired after a rule was fired
BeforeRuleFiredHistoryEventEvent is fired before a rule is fired

...

Entity Model used for all history events

Image Modified