1 of 1 people found this helpful
I think you will need to use a two step process to do this. The rollup calculation isn't an accumulator, so it's only going to return the current value of the inputs at the time of execution. I would use a simple expression analysis to perform the actual non-resetting accumulation.
Step 1 - Rollup calculation (Sum, or whatever your required summary calculation is)
Step 2 - Expression analysis that accumulates the rollup values. This analysis would be event triggered on the output attribute of the rollup calculation.
2 of 2 people found this helpful
A simple Expression analysis might as well do the trick:
LastCounter = 'YourOutput'
ValCurrent = 'YourInput'
// Test if the input values are good
IsGood = IF BadVal(ValCurrent) THEN False ELSE True
// Test if the we are in good conditions
IF IsGood = False THEN LastCounter
ELSE LastCounter + ValCurrent > Map to YourOutput