Hello, colleagues!
I'm trying to make a loop, where "i" (counter) will be an integer variable.
So, I've initialized a variable (max_anount_of_rangs):
Created "Apply for each" action:
And I have an error:
The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@variables('max_amount_of_rangs')' is of type 'Integer'. The result must be a valid array.
Is it possible somehow to do this action without an array?
Thanks in advance!
Solved! Go to Solution.
Hi @Smarty_
You can do this in 1 action. A select. The input is range(0,i)
then in the select, choose text mode and insert your object with item().
Damien
Please consider accepting my answer as a solution if it helps to solve your problem.
Cheers
Damien
Please take a look and subscribe to my YouTube Channel for more Power Platform ideas and concepts, or take a look at my website. Thanks
Hi @Smarty_
You can do this in 1 action. A select. The input is range(0,i)
then in the select, choose text mode and insert your object with item().
Damien
Please consider accepting my answer as a solution if it helps to solve your problem.
Cheers
Damien
Please take a look and subscribe to my YouTube Channel for more Power Platform ideas and concepts, or take a look at my website. Thanks
User | Count |
---|---|
88 | |
39 | |
23 | |
20 | |
16 |
User | Count |
---|---|
127 | |
49 | |
46 | |
27 | |
25 |