web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Send an email to owner...
Power Automate
Unanswered

Send an email to owners of open items from a sharepoint list

(0) ShareShare
ReportReport
Posted on by 8

Hi,

 

I'm trying to send an email to owners of open items from a sharepoint list and having referred to a couple of earlier posts I have tried the following approach but I get an error message. Please can you advise how I can clear the error?

 

Flow save failed with code 'InvalidTemplate' and message 'The template validation failed: 'The inputs of template action 'Filter_array' at line '1 and column '2022' is invalid. Action 'Apply_to_each' must be a parent 'foreach' scope of action 'Filter_array' to be referenced by 'repeatItems' or 'items' functions.'.

 

Flow is as follows:

 

 

Capture1.PNGCapture2.PNGCapture3.PNG

 

 

Categories:
I have the same question (0)
  • fchopo Profile Picture
    8,003 Moderator on at

    Hello @AlanJB 

    Could you share what are you doing in the "compose" and "compose2" actions? I mean, which information are you storing and the operation in Union...

    Does the remediation owner column allow multiple values?

    Regards,

    Ferran

  • AlanJB Profile Picture
    8 on at

    @fchopo - The union operator is as follows...

     

    union(array(outputs('Compose')),variables('Owner Array'))

  • AlanJB Profile Picture
    8 on at
  • fchopo Profile Picture
    8,003 Moderator on at

    And does the Remediation owner allow multiple values?

  • AlanJB Profile Picture
    8 on at

    Only single values allowed in owner.

  • fchopo Profile Picture
    8,003 Moderator on at

    Hello @AlanJB 

    I think that the mistake is in the apply_to_each actions. Your "apply_to_each_2" should be outside of the first "apply_to_each". Could you move it out?

    Regards,

    Ferran

  • AlanJB Profile Picture
    8 on at

    Hi Ferran,

     

    "apply to each 2" is already outside of the first.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard