cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
schuess3 Advocate III
Advocate III

Initialization Variable NOT going away, No Longer Used or Referrenced

I have a flow triggered by PowerApps. I have a few Variable Initialization actions that were setup as "Ask PowerApps". There seems to be an old, outdated variable input created that is no longer used or referrenced that is not going away. PowerApps it is still forcing me to put in a value, but i am 99% positive it is no longer referrenced in the flow. Is there a way I can clean that up?

 

old-variable.png

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Re: Initialization Variable NOT going away, No Longer Used or Referrenced

Hi @schuess3 ,

 

I have some updates for you.

 

This is a known issue for the PowerApps button. Please try to restart the process in order to get this to work.

 

A fix will be rolled out in the future but I don’t have an ETA currently.

 

Please try with the workaround to see if it works.

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
Community Support
Community Support

Re: Initialization Variable NOT going away, No Longer Used or Referrenced

Hi @schuess3 ,

 

The issue could be reproduced by me.

 

If I just remove dynamic content “Ask in PowerApps” for the Initialize variable action, PowerApps will still ask a value for it.

 

I will help report it from my side.

 

By the way, I found that removing the Initialize variable action then re-add it to the flow, PowerApps won’t ask for a value anymore.

1.PNG

 

Please take a try with it on your side.

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Community Support
Community Support

Re: Initialization Variable NOT going away, No Longer Used or Referrenced

Hi @schuess3 ,

 

The issue has been reported.

 

I will back to you once I got any updates later.

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Community Support
Community Support

Re: Initialization Variable NOT going away, No Longer Used or Referrenced

Hi @schuess3 ,

 

I have some updates for you.

 

This is a known issue for the PowerApps button. Please try to restart the process in order to get this to work.

 

A fix will be rolled out in the future but I don’t have an ETA currently.

 

Please try with the workaround to see if it works.

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

KC Continued Contributor
Continued Contributor

Re: Initialization Variable NOT going away, No Longer Used or Referrenced

Work around is not working for me.

Any word on an ETA for when this will be fixed would be appreciated.

KC Continued Contributor
Continued Contributor

Re: Initialization Variable NOT going away, No Longer Used or Referrenced

OK, I just realized that if you add a Initialize Variable step, before anything else, you need to rename the title of the step using the elipsis button.

Change the Step Title: Initialize Variable to YourVar name.

Then copy YourVar into the Name field  

In the Value field, select Ask in PowerApps and then your var name will be put into Value field as YourVar_Value

 

Be careful, if you introduce a new Initialize var and forget the steps above then the default Initializevariable_Value will be part of your parameter set in PowerApps for that Flow. 

 

It would be great if we could delete the default var from the Flow Editor.

RachelRig Helper III
Helper III

Re: Initialization Variable NOT going away, No Longer Used or Referrenced

I'm having the same problem. Can't get rid of "Initializevariable_Value". Now my app button is looking for that and giving me an Invalid Number of Arguments error. I already recreated the entire Flow from scratch to solve this error earlier. Basically can't initialize any variables without breaking the thing. 

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (7,807)