Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | - |
Not Applicable | - |
Resolution:
Description:
============
We have a concept with history enabled for property. How can we retrieve all the historical values of the concept property?
Environment:
===========
TIBCO BusinessEvents 4.0
Resolution:
==========
Instance.PropertyAtom.get***HistoryValue() functions can be used to get the value of given Property at a specified index in the ring buffer. The oldest value is at index 0.
Temporal functions allow you to examine and perform calculations on values stored in a property’s history. For example, Temporal.History.howMany(PropertyAtom pa, long stime, long etime, boolean bound_by_stime) returns how many values exist in interval [stime, etime].
You may determine how many history values are there for the property with temporal function and then retrieve them by Instance.PropertyAtom.get***HistoryValue() function in a loop.
Attachments:
===========
Find /Rules/Print.rule in attached SampleCase for your reference