Need to Implement For Loop to get the Column Indices dynamically with a Constant difference for a Provided Number.
I am looking for for(i=startPosition,i<=maxIndices;i+noOfColumns)
Eg: for(i=1,i<=50;i+4) should give
{1, 5, 9, 13, 17, 21,25,29,33,37,41,45,49}
Can any one help me to find out the logic in Appian.?
Discussion posts and replies are publicly visible
Hi
Try this
load( local!maxIndices:50, local!numColumns:4, 1 + local!numColumns * enumerate(local!maxIndices/local!numColumns) )
Hi ankitab0001
Thanks, it works.It gives the results greater than max Indices, but I am able to reject those.