cancel
Showing results for 
Search instead for 
Did you mean: 

PowerApps integration - Remove/Rename parameters

When you use PowerApps to trigger a flow, once you select "Ask in PowerApps" in an action, it creates a parameter.  In the "Run" function in PowerApps, you then have to specify the values of those parameters.

 

Trouble is, when you're refactoring both the Flow and the PowerApp, there's no way to either rename or remove the parameters.  For instance, if you delete an action that previously used a "As in PowerApps" value (which creates a parameter), the parameter still exists!

 

Could we place have a way of maintaining the list of parameters?

 

This has been posted as a bug previously by @Thomashttps://powerusers.microsoft.com/t5/I-Found-A-Bug/Ask-in-Powerapp-Remove-unneeded-parameter/m-p/6513...

 

Also, it has been posted as an idea to in PowerApps Ideas by @JanSomers91.  Please also vote for that idea if you vote for this idea!

 

Thanks!

 

Status: Planned

We plan on letting you configure parameters for PowerApps flows just like you can for Flow mobile buttons.

Comments
Level: Power Up

Hello,

 

While waiting for the microsoft solution here is the manual workaround. 

Download the workflow as ZIP package.

Go inside and find definition.json. Open it in a json editor rename or remove the parameter you dont like.

Save and put the file back to the Zip Package and update your flow with this. 

 

Works as charm.

Have fun guys

 

Level: Powered On

This has been incredibly cumbersome for quite a while.  I was using flow studio, but now that they're charging a subscription I might build a powershell script for extracting the correct json file and making the edit.  If I do, I'll share.

Level 8

Would be nice if you could simply edit in the peek code window. Kind of like the Advanced configuration.

JD1
Level: Powered On

.

Level: Power Up

I have found of solution for this issue(might help someone) :- 

1 .First you need to go to all the Intialise variables in flow and replace the value field with a dummy string value.  
2. Save your flow.
3. Add a new step of initialise variable and check for what options you see in the "Ask in powerapps"
4. Delete this variable step you just added.
5. Go to all the variables now and delete the dummy value and replace with new Variables in 'Ask in PowerApps".
6. Now the 'order' of the variables in your call might not work from power apps , so you will need to change the order of variables in your call and then your are set.

Cheers.
Joy