I have a strange problem.
My customised form and flow were working fine yesterday but for some reason it's not today.
<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?
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:
set the form's OnSuccess:
I don't know whether it helped @ateale' .. but you just saved my bacon 3 years on!
I just couldn't understand why I was getting an error with my code on my Save Button!
If(NewForm_1.Valid,SubmitForm(NewForm_1);ResetForm(NewForm_1);Reset(EmployeeLeaveGallery);Set(varShowNewForm,false),Notify("* Mandatory Fields Need Completing",Warning,2000));LeaveStartApprovals.Run(NewForm_1.LastSubmit.ID)
THEN IT CLICKED! I had put the Run Workflow command 'after' I had told it to reset the form.
Now working like a dream: If(NewForm_1.Valid,SubmitForm(NewForm_1);LeaveStartApprovals.Run(NewForm_1.LastSubmit.ID);ResetForm(NewForm_1);Reset(EmployeeLeaveGallery);Set(varShowNewForm,false),Notify("* Mandatory Fields Need Completing",Warning,2000))
Thank You 🙂