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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Filter array issue wit...
Power Automate
Answered

Filter array issue with Output

(0) ShareShare
ReportReport
Posted on by 73

All,

 

I am having trouble combining this filter array to my current flow. I am receiving data from SQL table and inserting it into SharePoint list.

PowerAppsUser99_0-1678124978839.png

 

 

 

This is my filter array step that I would like to use the Compose_2 output and use it for my SharePoint list.

 

PowerAppsUser99_1-1678124978482.png

 



This is the error I receive when trying to use the Output of compose_2

 

PowerAppsUser99_2-1678124978481.png

 

 

I am having trouble combining this filter array to my current flow. I am receiving data from SQL table and inserting it into SharePoint list.

PowerAppsUser99_0-1678124773581.png

 

 

This is my filter array step that I would like to use the Compose_2 output and use it for my SharePoint list.

 

PowerAppsUser99_1-1678124837452.png



This is the error I receive when trying to use the Output of compose_2

 

PowerAppsUser99_2-1678124935893.png



Error message:

 

Flow save failed with code 'InvalidTemplate' and message 'The template validation failed: 'The inputs of template action 'Compose_3' at line '1 and column '8150' cannot reference action 'Compose_2'. The action 'Compose_2' is nested in a foreach scope of multiple levels. Referencing repetition actions from outside the scope is supported only when there are no multiple levels of nesting.'.'.

 

Categories:
I have the same question (0)
  • VictorIvanidze Profile Picture
    13,081 on at

    It seems you have to rewrite the flow.

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @PowerAppsUser99 ,

     

    As the message says, the action 'Compose_2' is nested in an Apply to each control, so the outputs of this action cannot be used in an action that out of the control. You can either move Compose 2 out of the Apply to each 2 control, or move Compose 3 into Apply to each 2 control, it's all based on your requirement and the logic of workflow.

     

    Best regards,

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 253 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 172 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 134 Super User 2026 Season 2

Last 30 days Overall leaderboard