cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TiagoCosta1983 Advocate IV
Advocate IV

Set Variable with herself

Hey Guys,

 

Here is my issue, I'm trying to go through a SP List and everytime my Status of a item is "proposed" I want some info to be stored in a variable and at the end of the list I want that variable to be emailed to me.

 

Pretty simple in a normal for each on any language, but it seems that I cannot set a variable with herself in order to keep my variable to increase the text values without loosing the previous value that was already there.

 

Anyone has a solution for this using Flow?Capture.PNG

 

 

 

Capture.PNG

 

 

Thanks

2 REPLIES 2
Community Support
Community Support

Re: Set Variable with herself

Hi @TiagoCosta1983,

 

Yes, a variable can't update herself.

Could you please share more details about which data would be stored in the variable?

If the condition is the same, then we could consider take use of Filter Array action, then convert the result into an HTML table, after that send the results with an Email.

Build Flows with HTML tables

Besides, if you would like to store the result within an Apply to each, you will need at least two variables, one for the single item result, another is used to put the single item results together.

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
TiagoCosta1983 Advocate IV
Advocate IV

Re: Set Variable with herself

Hi @v-micsh-msft

Well, what I want to store is simple text coming from some sharepoint fields from a list, like supplier name - supplier country - status ...

 

the point was to build an array on the variable itself and then just send an email with that variable.

 

kr

Tiago

Helpful resources

Announcements
Did you attend MBAS? Claim your badge

Attending MBAS? Claim your badge

Whether you’ve streamed the digital event live, or you're watching on-demand, claim your attendee badge to sport on your profile.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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
Users online (5,867)