web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Cannot set integer var...
Power Automate
Unanswered

Cannot set integer variable to 0 in new designer

(0) ShareShare
ReportReport
Posted on by 12

I have a loop in my flow that sets the variable vintCount to 0 and increment it as I go through the loop. But now I get this error:

 

Invalid parameter for 'Set vintCount'. Error: 'Value' is required.

 

It saves happily if I switch back to the old designer.

Every article I have seen on setting up a loop depends on starting with the variable at zero.

Any idea what's up?

Categories:
I have the same question (0)
  • DJ_Jamba Profile Picture
    2,837 Super User 2025 Season 2 on at
    Re: Cannot set integer variable to 0 in new designer

    Hi @margitcurtright 

    I don't use the new designer at all - I find it really buggy.

    Anyway, assuming you have initialised the variable at the top of the flow and you are using the Increment variable action to increment it, sometimes when you set a variable in a loop and in the new designer, it loses the value you want to set it to.
    Go to the action that sets the variable and re-enter zero

  • margitcurtright Profile Picture
    12 on at
    Re: Cannot set integer variable to 0 in new designer

    No way to get this to save in new designer. 

     

    It seems that the new designer can't handle comments (yet). I think I'll add a comment to each of my flows to force them to open in the old designer.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard