cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ateale
Frequent Visitor

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
v-yutliu-msft
Community Support
Community Support

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.
Anonymous
Not applicable

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

 

@Anonymous 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,266)