Power Automate: The template validation failed: ‘The repetition action(s) referenced by ‘inputs’ in action are not defined in the template.’

Recently, while working on Power Automate(formerly known as Flow), we got an issue saying “The template validation failed: ‘The repetition action(s) referenced by ‘inputs’ in action are not defined in the template.”

We were trying to use Set Variable action at 2 places inside a loop based on certain condition as shown below:

To save time and effort we tried to copy Set Variable action using Copy to my clipboard(preview) and pasted it as shown below:

After pasting, when we tried to save the Power Automate, we got the error message mentioned above.

To fix this issue, we followed the below steps:

  • Close the Power Automate(Since saving is not working you’ll lose all the changes done after the most recent save)
  • Open the previously saved Power Automate and do the same changes.
  • Instead of copying/pasting the action, we created the actions separately at 2 places where we needed.

Hope it helps !!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.