JSS - previousState

hi, for one of my rules i need to revert ITEM_A to previous state after ITEM_B has been changed.


Script execution of rule with UID '961bb95dea' failed: java.lang.UnsupportedOperationException: rrd4j does not allow querys without a begin date, unless order is descending and a single value is requested

As far as i understood the documentation putting the “true” boolean will give me the last unique value. Is it a bug or i need to use different persistant or approach ?

This is either a bug or a real limitation on rrd4j. There should already be an issue filed but double check.

For the time being, previousState won’t work with rrd4j.