Hello,
When you use for the first time you get the number 1, but it should return 0.
When you use for the second time you get the number 1, andit should return 1.
So when i try to show beforehand the next number for the first document i use getCurrentValue() + 1 and it returns 2 (error).
But for the second document, the same formula returns 2 (ok)
I tried to use setStartValue(0) but again a get a number 2 as answer.
I think the logic should be changed. Thanks in advance for your help.