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

Unable to trigger flow from powerapps button

Hi PowerApp Users,

I'm trying to trigger a flow from PowerApps form wired to SP list.

OnSelect property of a button, i'm Submitting the form and triggering the flow. There are 6 parameters that i'm passing to the flow. The parameters are made mandatory in the form. When filling out the fields and submitting,i get the below error-

XXXXXFlow.Run failed: The method 'Run' has an invalid value for parameter 'Initializevariable3_Value'.

The error variable (in this case 'Initializevariable3') keeps changing on seperate runs. Once i close the form and open again and press Submit buton, it works. The error occurs only on the first attempt. Errors and Onselect property screenshot attached.

 

Things i have done as part of troubleshoot-

1. Verified whether the fields passed have value or not (populating a text fields with the values)

2. Removed and added the flow again to the app.

3. Confirmed the order of parameters.

Any help appreciated.

Thanks,

Kevin

1 ACCEPTED SOLUTION

Accepted Solutions
johnsonjohn
Level: Powered On

Re: Unable to trigger flow from powerapps button

You are not passing the expected parameter. Make sure that in the flow you are asking for the parameter from power apps and passing them. If you can share the expression which triggers the flow
2 REPLIES 2
johnsonjohn
Level: Powered On

Re: Unable to trigger flow from powerapps button

You are not passing the expected parameter. Make sure that in the flow you are asking for the parameter from power apps and passing them. If you can share the expression which triggers the flow
kevingeorget
Level 8

Re: Unable to trigger flow from powerapps button

Thanks @johnsonjohn.

I removed the trigger expression and wrote it again. There was one variable (Item ID) which i was using directly in the flow. I initialized this value to a variable and referred this in the flow rather than using it directly.

May be that did the trick or not sure.

It's working now.

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 117 members 3,900 guests
Please welcome our newest community members: