cancel
Showing results for 
Search instead for 
Did you mean: 

Ability to initialize more than one variable in the action

Hi, 

 

I'd suggest adding the possibility to initialize more than one variable in the "Initialize variable" action.

Currently the initialization of variables it taking up quite some space in the flow designer window making it difficult to have a nice overview.

 

Glenda

Status: Under Review

Thank you for the suggestion, we will look at this for our future plans.

Comments
Level 8

I usually throw them all inside of a scope.

Level: Powered On

Hi @ChrisC

 

Adding them to a scope is not possible, I get the following message here: "The operation 'Initialize variable' can only be used at top level.".

 

If that would be possible, it would already be great...

 

Glenda

Since Flow doesn't support regexes, I'm currently using variables to do string manipulations. This would be a tremendous improvement.

Power Automate Staff
Status changed to: Under Review

Thank you for the suggestion, we will look at this for our future plans.

Level: Powered On

Yes, simply being able to do something like initializing the same type of variables in one step would greatly reduce the number of steps:

 

svar1="1",svar2="Initial",svar3="Status1",svar4="0"

type=string

 

bvar1=false,bvar2=false,bvar3=false

type=boolean

 

etc.