Showing results for 
Search instead for 
Did you mean: 

Ability to declare variables inside scopes

I suggest you add the possibility to declare variables within scopes.


Since scopes for Microsoft Flow are designed to group actions together, to make the Flow easier to view, it would be nice to be able to declare any variables within scopes.

As of now an error is thrown stating that variables have to be declared on the top-level of the flow, even though the actual scope is added to the top-level.

Status: New
Kudo Kingpin

Fully supportive.


Scopes should NOT count as "indentation" / nesting level


As workaround I revert now to using parallel branching to group variable initializations togetherBranched variable declarations for groupingBranched variable declarations for grouping




Advocate II

I think, this thread might match the following feature-request.


Maybe one of the admins could merge them?