cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ArneIncrius
Regular Visitor

Use variable outside apply to each

Hi,

 

I'm using get records for Dynamics365 opportunities, but i'm getting the owner id instead of the name. Thats why i'm using an apply to each to get the full name. But I want that variable (Full name) to use outside the apply to each to create a html table and send it by email. Do I use a set variable? But how do I read it in "create html table"?

 

2018-08-07 10_45_22-Window.png

 

 

 

 

4 REPLIES 4
v-yuazh-msft
Community Support
Community Support

Hi @ArneIncrius,

 

Please refer to screenshot below to create the flow:

Capture1.PNGCapture2.PNG

 

 

Best regrads,

Alice

Hi,

 

This is not the solution, when I try that, the fullname variable is the last of the apply to each. So when my table is created I see only 1 name. (The last one of the apply to each)

Rashaad_Compass
Frequent Visitor

I too am having an issue like this. 

Can anyone point to an example of using a variable outside of the Apply To Each?

NielsL
Helper V
Helper V

@ArneIncrius @Rashaad_Compass 

 

Did you find a solution to this issue? I'm trying to achieve the exact same thing as you.

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (2,159)