cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Kudo Collector
Kudo Collector

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
Highlighted

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
Highlighted
Community Support
Community Support

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.
Highlighted
Community Support
Community Support

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.
Highlighted

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

Highlighted
Continued Contributor
Continued Contributor

Work around is not working for me.

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

Highlighted
Continued Contributor
Continued Contributor

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.

Highlighted

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (10,954)