Create two local variables in an activity to hold the index and date property of the list having oldest date.
Loop on the pagelist and include a when condition to compare the current date and the local date property, if the current date property is smaller then set the local date property to the current value and update local index value to current pagelist index using param.pyForEachCount property.Else exit the iteration.
Param.pyForEachCount holds the current index of the pagelist.
Hope it helps.
Posted: 3 years ago
Posted: 3 Apr 2019 15:33 EDT
Spandan Yemmela (SKUMAR2006)