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

Announcements

News and Announcements icon
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:
  • DJ_Jamba Profile Picture
    2,837 Moderator on at

    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

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 445

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 300

Last 30 days Overall leaderboard