Hi dear,
I have written code like in the picture, I just want to print the max no without using max function.
Discussion posts and replies are publicly visible
I tried , using todatasubset() function with using for each
a!localVariables( local!data: { 10, 5, 25, 70, 12 }, local!getdata: a!forEach( items: local!data, expression: { Maxnumber: fv!item } ), index( index( todatasubset( arrayToPage: local!getdata, pagingConfiguration: a!pagingInfo( startIndex: 1, batchSize: 100, sort: a!sortInfo(field: "Maxnumber", ascending: false) ) ).data, "Maxnumber", 1 ), 1, {} ))