So I have an Until loop and the input is defined as a dereferencing of an array element, array which is initialized and set before (so outside) the loop. In other words, to make sure that the Until loop checks the condition against each element of the array as it iterates over the array, I set the input to the loop like so:
variables('email_body_lines')[iterationIndexes('LOOP10::over_oor_section_until_start_of_spf_section')]
However, I get the following error message:
InvalidTemplate. Unable to process template language expressions for action 'LOOP10::over_oor_section_until_start_of_spf_section' at line '1' and column '12373': 'Template language expression cannot be evaluated: the template action 'LOOP10::over_oor_section_until_start_of_spf_section' is not defined at current scope.'.
Why? Why can't I reference the loop by name within itself? How can such a reference not be defined at current scope? For crying out loud, we are inside the loop scope!
Why can't someone reply to this? I'm having same issue.
I have the same issue.
User | Count |
---|---|
93 | |
45 | |
19 | |
19 | |
15 |
User | Count |
---|---|
137 | |
54 | |
42 | |
42 | |
30 |