cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ArneIncrius
Level: Powered On

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
Community Support Team
Community Support Team

Re: Use variable outside apply to each

Hi @ArneIncrius,

 

Please refer to screenshot below to create the flow:

Capture1.PNGCapture2.PNG

 

 

Best regrads,

Alice

ArneIncrius
Level: Powered On

Re: Use variable outside apply to each

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)

Highlighted
Rashaad_Compass
Level: Powered On

Re: Use variable outside apply to each

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
Level: Powered On

Re: Use variable outside apply to each

@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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,551)