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
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 (2,961)