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
firstImage

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (4,191)