Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Variable not returning value

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I am having an issue where I am using "Set Variable" and can see that it is retrieving the value however, when I go to use the Variable to update SharePoint the value is blank?

 

Here is how the variable is initialized:

2022-01-27 16_25_27-Window.png

 

Here is where I set the Variable with the run as well:

2022-01-27 16_24_58-Window.png

2022-01-27 16_21_31-Window.png

 

This is the compose I am using to check it had a value after several runs where no output was provided with the corresponding run.

2022-01-27 16_22_21-Window.png

2022-01-27 16_22_02-Window.png

I don't think I have missed anything as I have other variables setup the same way and they work fine.

  • v-qiaqi@microsoft.com Profile Picture
    on at
    Re: Variable not returning value

    Hi @LostInData,

    Could you please share a complete flow configuration with me?

    You reference to an apply to each in your Set variable action, I think maybe you assign a 0 value for at last in your loop, so that the final output from the compose is 0.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >