cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
geoff786
Helper III
Helper III

Scheduled Flow Summary from Teams Posts

Hi there, trying to model out a scheduled flow where it will summarize all of the MS Teams posts from date x to y in 

 

geoff786_2-1615586453161.png

keeps crashing here:

geoff786_3-1615586517428.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Mira_Ghaly
Dual Super User II
Dual Super User II

@geoff786 

 

If you want to use the output from your filter array action and because it is used an a for each loop so you need to initialize a variable of type array at the top level of your flow:

Mira_Ghaly_0-1615588311112.png

Inside your apply_toeach after the filter array action use another apply to each to append to the final array variable and then use the final array variable to generate the HTML Table.

Mira_Ghaly_1-1615589136139.png

 

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

View solution in original post

1 REPLY 1
Mira_Ghaly
Dual Super User II
Dual Super User II

@geoff786 

 

If you want to use the output from your filter array action and because it is used an a for each loop so you need to initialize a variable of type array at the top level of your flow:

Mira_Ghaly_0-1615588311112.png

Inside your apply_toeach after the filter array action use another apply to each to append to the final array variable and then use the final array variable to generate the HTML Table.

Mira_Ghaly_1-1615589136139.png

 

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,732)