Question

In Power Automate I have an Update Item action that references a field containing (potentially) multiple user accounts. Every time I put in the field's value, Power Automate helpfully embeds the Update Item action inside a loop, presumably to loop through however many email addresses/user accounts there may be in this field. That's fine.

The problem is that for some reason I can't rename the loop. Every time I do, when I go to save, I get the following message:

Flow save failed with code 'InvalidTemplate' and message 'The template validation failed: 'The repetition action(s) 'Apply_to_each' referenced by 'inputs' in action 'Update_to_Step_1' are not defined in the template.'.'.

Googling around has produced some hits on those terms but none have applied to my situation exactly, it's usually got to do with using JSON somewhere in the action, which I'm not doing. I'm simply trying to take the account from one field and copy it into another field.

How can I rename this loop but avoid the error above?

Was it helpful?

Solution

I also faced same issue for that, you just need to re write all logics under that apply to each, because when you change its name then previously defined data will not able to find 'Apply To Each' named loop. So rewrite all variable/properties after renaming loop.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top