cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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

View solution in original post

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

View solution in original post

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
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (4,428)