...
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 Please not here that we record the old and new value of the updated object |
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 |
...
Entity Model used for all history events
DroolsFactObject | Each time an object is inserted/retracted/updated a new DroolsFactObject is instanciated to keep the value it had. | |
---|---|---|
DroolsFactObjectAttribute | We are storing in a Key/value the value of an attribute where key is the name of the attrinute and value a string representation of the value. The Type attribute is "String, Long, long, etc..) Note that in case the attribute is a class , the value contains the toString method of the inserted/deleted/updated java object |