Hello!
I'm new to the Power Automate Desktop program.
Here's my problem: (Updated)
I use Power-Fx, which needed in a later part of the flow, so I can't make a new flow without it.
I have an list input inside my desktop flow.
(I created it, by choosing the list datatype. Then in the values Edit field, I switch on the JSON-editor, and entered the following: ["Alpha", "Beta", "Gamma"]).
This is an example list, but the real data list can have a different length (it can be less or more items).
After this I use the "Set Variable" step, to make a new variable. In this variable I want to get the first item from my list. (So I need something like "ListName[0]", which should give me the "Alpha" text back.) - Technically I will need to get every items, by the index, so the index will be a variable, that I will change with a special logic. (Not a simple for-each function).
However, when I try it somehow either gives me the the exact text ("ListName[0]"), or give an error message ("Invalid characters...").
The for-each loop with the current item is not really a solution for me, as the remaining part of the flow uses another for-each. (So this two "loops" should work together, something like this: A_List[0] B_List[0], then A_List[1] B_List[1], etc...).
I tried a few things, including the %ListName[0]% command, which a lot of other videos and forums says, but nothing worked so far.
About the screenshots. Where I work, we have a strict policy against sharing sensitive data, and the flow (input list) contain these data. That's why I can't share screenshots.
Sorry about it guys!
If you can help me, or give me some guide, I would be thankful!
~ Rob