Hi There
How to get the index of pxStageHistory (top level page)?
I am looking for number of Stages the case has moved but LengthOfPageList returns the numbers including the process pagelist count, which is not ideal in case of my scenario
Please can someone let me know how this can be done?
@JaghadishR4652 I think you are looking for indexInpagelist method.
@sharg3 hi Ganesh - thanks for picking up this question
I already tried giving index in page list. It just returns the value as 1 which is not what i expected
As an example I am expecting the count to be 10 in the scenario below (the case had moved 10 stages and some 25 process within the stages )
@JaghadishR4652 This you should be able to find with the pxStageHistory page list in the clipboard. So if you see pxStageHistory(10) it means the flow has progressed 10 stages. So length of the pagelist should work.
@sharg3 Thanks Ganesh - I had a looping logic issue which resulted in incorrect value set on the property holding the length of page list . your solution is correct