cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Thomas
Level 8

Ask in Powerapp - Remove unneeded parameter

Hi,

 

I´ve created a PowerApp, which executes a Flow.

A single Parameter is needed, to run the Flow correctly.

 

So I created a composition (GetID) with a variable: PowerApp - Text.

Saved the Flow, edit the PowerApp, added the Flow and no Parameter was there.

Same steps again and now I got 3 Variables, which I have to submit:

  1. SendPushNotificationCalendarIDnotfound_Parameters (Record)
  2. Compose_Input (Text)
  3. Compose_GetID (Text)

I have no Idea, why there is a parameter from my PushNotification.

Due to my second approach it is kind of understandable that I got two variables in my Composition.

 

But what to do with it now? I didn´t found a solution to remove the unnecessary parameter.

"Save As" did not changed anything.

 

Currently I helped myself out by submitting a random rec and an empty string:

'MyFlow'.Run(BrowseGallery1.Selected;"";ID)

But that is superfluous and hard to maintain by collegues.

 

It would be great to see the variables, which are asked in my powerapp, with the possibility to remove (and probably rename) them.

Or a button, which recreates all used variables.

 

Tanks 🙂

4 REPLIES 4
Community Support Team
Community Support Team

Re: Ask in Powerapp - Remove unneeded parameter

Hi @Thomas,

 

Thanks for your feedback.

Sometimes the Parameter will not updated automatically after Flow has been updated.

You may consider submit this as an idea under the Flow idea forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
DavePotts_BritE
Level: Powered On

Re: Ask in Powerapp - Remove unneeded parameter


@v-micsh-msft wrote:

 

Sometimes the Parameter will not updated automatically after Flow has been updated.

 


Sorry I don't understand. Is the parameter supposed to go away if you stop using it in the remaining actions of your flow?

 

@Thomas , did you ever find a solution to this one?

hjaf
Level: Powered On

Re: Ask in Powerapp - Remove unneeded parameter

Possible workaround:
Create a the flow action with the same name that produced the question, add the stale question as an answer to the correct field, then, WITHOUT removing the question, delete the entire action.

You may see a message box appearing: "This step and associated dynamic content will be deleted from this flow."  This should update the trigger so that the question is removed.

I just added a new step in flow that ask a question from powerapps, and it seems the question name is set the instant you click "ask in powerapps". I realized that what I wanted to do was not really reflecting the action in the generated question, so I removed the question and renamed the step before selecting ask in powerapps again. The previous question remained and judging from the code-view of the trigger,  this will now be required in powerapps studio. This makes little sense.

To summarize: If we do a mistake like this in flow, questions not asked must be answered powerapps studio, unless you go through every stale question and remove them as suggested in the workaround.


 

Franck_Garcia
Level: Powered On

Re: Ask in Powerapp - Remove unneeded parameter

Hello,

 

I have faced the same kind of issue. To fix it, I have removed the PowerApps trigger on the top of the Flow. Then all the parameters are removed.

Next steps are:

- add a new PowerApps trigger

- click on 'Ask PowerApps' on the relevant Flow actions

- fix errors in the Flow (on actions which were using the removed parameters)

- save the Flow

 

Please note that if you wish to see the list of parameters, using 'Peek code' (right click on the trigger), you see them in a JSON format. 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 4 members 6,185 guests
Please welcome our newest community members: