cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Emil2
Frequent Visitor

Get out data from apply to each to use in other action

Hello community

 

I dont understand how to get data our from a apply to each action. 

As soon as i grab data from a parse JSON with a compose or create html table that is a table it automaticly creates a apply to each. 

 

When i then try to get this data to email it i cant choose it

 

copose.png

 

Hoever i can see that the apply to each have data inside 

 

apply.png

 

How do i get it out of the loop so i can use it in other actions?

 

/Emil2

1 ACCEPTED SOLUTION

Accepted Solutions
krootz
Solution Supplier
Solution Supplier

@Emil2 That's the default behavior when using dynamic content from the parse json output. You can use the "first" function in an expression like below in a compose action or a select data action to remove the apply to each.

first(body('Parse_JSON')?['EwonName'])

View solution in original post

1 REPLY 1
krootz
Solution Supplier
Solution Supplier

@Emil2 That's the default behavior when using dynamic content from the parse json output. You can use the "first" function in an expression like below in a compose action or a select data action to remove the apply to each.

first(body('Parse_JSON')?['EwonName'])

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (3,098)