I want to iterate a a!save() expression for 10 (n times) when I press a button
Discussion posts and replies are publicly visible
Hello vijayp6380 You will have to use a!forEach() and run your a!save()(Not recommended). Also do you have any particular variable that defines the number of iterations that has to be performed? What will this a!save() perform exactly? If the Rule Input or Local variable that you are going to use for the target is same, You don't need to do the loop. May be a better explanation of your requirement would help all of us to give a better solution.
I want to sort a numbers array in Appian without using sort function
This has been discussed on community quite a lot of times now - community.appian.com/.../function
if( a!isNullOrEmpty(ri!inputArray), {}, a!localVariables( local!data: a!forEach( items: ri!inputArray, expression: { value: fv!item } ), todatasubset( local!data, a!pagingInfo( startIndex: 1, batchSize: - 1, sort: a!sortInfo( field: "value", ascending: or(ri!ascending) ) ) ).data.value ) )