...
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
DeletedFactHistoryEvent | Each time there is a retracted object in the working memory (session) from java or from RHS (then), this event is added |
---|---|
InsertedFactHistoryEvent | Each time there is an inserted object in the working memory (session) from java from RHS (then) of a rule, this event is added |
UpdatedFactHistoryEvent | Each time there is an upaded object in the working memory (session) from java or from RHS (then), this event is added |
Process Events
NodeInstanceAfterHistoryEvent | This event is fired when leaving a node |
---|---|
NodeInstanceBeforeHistoryEvent | This event is fired when entering a node |
ProcessStartHistoryEvent | When a process is started |
ProcessEndHistoryEvent | When 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 | ||||
---|---|---|---|---|
|
Rule Events
AfterRuleFlowActivatedHistoryEvent | Event is fired when entering a ruleFlow group |
---|---|
AfterRuleFlowDeativatedHistoryEvent | Event is fired when leaving a ruleflow group |
AfterRuleFiredHistoryEvent | Event fired after a rule was fired |
BeforeRuleFiredHistoryEvent | Event is fired before a rule is fired |
...
Entity Model used for all history events