cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ateale
Level: Powered On

Run Failed - The method 'run' has an invalid value for parameter 'GetItem_id'

Hello all,

 

I have a strange problem.

 

My customised form and flow were working fine yesterday but for some reason it's not today.

I'm getting:

 

       <myflow>.Run Failed: The method 'run' has an invalid value for parameter 'GetItem_id'

 

I don't know what's happened, nor how to fix it 😞

 

I've refreshed my data source plus removed and added back in the flow into the customised form but still no joy.

I've also added the GetItem action back into the flow but that didn't work too.

I've even restored the customised form to a previous version and that didn't help either.

 

Does anyone know how to fix this?

 

Regards

Adrian

      

 

 

 

2 REPLIES 2
Community Support Team
Community Support Team

Re: Run Failed - The method 'run' has an invalid value for parameter 'GetItem_id'

Hi @ateale ,

I've searched some similar issues, here are some tips that may help you:

 

1)Could you show me your formula of running flow?

The order of arguments of your 'FLOW'.Run() function is based on the order of parameters that you specified within your flow. Please check if you have provided proper value for corresponding arguments of your 'FLOW'.Run() function.


2)When the SubmitForm formula executed successfully, the Form control (Edit form) would be reset. Then the Form1.LastSubmit.ID formula would return blank, so your MyFlow.Run() formula would fail.

You could try to use flow.run in OnSuccess property.

set the submit button's OnSelect:

SubmitForm(Form1)

set the form's OnSuccess:

MyFlow.Run(Form1.LastSubmit.ID)

 

 

 

Best regards,

 


Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
TopShelf-MSFT
Level 10

Re: Run Failed - The method 'run' has an invalid value for parameter 'GetItem_id'

Hi @ateale how are you progressing with this? Was the above reply helpful? 

 

@TopShelf-MSFT 

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

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 (Last 30 Days)
Users online (5,837)