The order that the Repeat Action follows can be very helpful. It would be great to see it implemented. Or at least a work around like creating a list and being able to sort it as an action.
Best Answer
P
Patricia Guevarra
said
over 7 years ago
Hi Daniel,
I remember our conversation about this, and found a possible workaround. You want to go from old to new, so you want to reverse the order that the repeat action will go, correct? The workaround is as follows:
After the repeat action step, in the field where you will put the data, you can append this to pill:
[<Size pill from the repeat action output> - <Index pill from the repeat action output> -1]
So for example, if you have 10 items in your list, when it gets to the first item, it will do 10-0-1, which is 9, which is the index for the last item in the list. As a result, it will take the data for the last item. I hope this helps for your use case!
Answer
Patricia Guevarra
said
over 7 years ago
Hi Daniel,
I remember our conversation about this, and found a possible workaround. You want to go from old to new, so you want to reverse the order that the repeat action will go, correct? The workaround is as follows:
After the repeat action step, in the field where you will put the data, you can append this to pill:
[<Size pill from the repeat action output> - <Index pill from the repeat action output> -1]
So for example, if you have 10 items in your list, when it gets to the first item, it will do 10-0-1, which is 9, which is the index for the last item in the list. As a result, it will take the data for the last item. I hope this helps for your use case!
1 person likes this
D
Daniel Carvallo
said
over 7 years ago
Hi Patricia, Thanks for your example. It will be very helpful.
Daniel Carvallo
Sorting for Repeat Actions
The order that the Repeat Action follows can be very helpful. It would be great to see it implemented. Or at least a work around like creating a list and being able to sort it as an action.
Hi Daniel,
I remember our conversation about this, and found a possible workaround. You want to go from old to new, so you want to reverse the order that the repeat action will go, correct? The workaround is as follows:
After the repeat action step, in the field where you will put the data, you can append this to pill:
[<Size pill from the repeat action output> - <Index pill from the repeat action output> -1]
So for example, if you have 10 items in your list, when it gets to the first item, it will do 10-0-1, which is 9, which is the index for the last item in the list. As a result, it will take the data for the last item. I hope this helps for your use case!
Patricia Guevarra
Hi Daniel,
I remember our conversation about this, and found a possible workaround. You want to go from old to new, so you want to reverse the order that the repeat action will go, correct? The workaround is as follows:
After the repeat action step, in the field where you will put the data, you can append this to pill:
[<Size pill from the repeat action output> - <Index pill from the repeat action output> -1]
So for example, if you have 10 items in your list, when it gets to the first item, it will do 10-0-1, which is 9, which is the index for the last item in the list. As a result, it will take the data for the last item. I hope this helps for your use case!
1 person likes this
Daniel Carvallo
Hi Patricia, Thanks for your example. It will be very helpful.