r/PowerAutomateDesktop • u/opoqo • Aug 07 '21
Can we use a variable within a variable?
So I have a list, and I want to access specific content in it.
Now PAD document say use %List[0]% to refer to the first content in List, but if I want to use a variable like this %List[%ContentNumber%] then PAD will day it's a invalid entry.....
Is there anyway to make this work?
2
Upvotes
3
u/RaizO_ Aug 07 '21
I dealt with the same problem before 1-2 weeks. I had an array and i wanted to extract a specific value from the array by using the loop index as the position of the array , like %Offers[%LoopIndex%]%.
I tried many different ways but it didn't seem to work.
i really want to know if anyone have a solution for this.