Forum Discussion
darshthakkar - I might recommend using an expression library to store your current value at the end of each execution.
I've attached a sample pipeline to get you started.
Hope this helps!
Thank you koryknick for the assistance over here, I tried it once and it doesn't work the way I intend it to be.
The count changes from 0 to 1 and then it stops, when you tested it, was it working well for you?
I'm actually travelling this week so I will give it a try again next week, thanks again for your help.
Also, I was looking for an easier way (less memory and less resources usage) and didn't want to use expression library at the very first as there are challenges to it as well; if there is a common expression library and we need to append this variable for storing the value, every time the exp. library gets changed and promoted to higher env., we lose the history (reason being, when the count changed to 1 on the pipeline, expression library was still pointing to its initial value).
Thank you.
Best Regards,
Darsh