Hi,
When I submit form - data is saved into SharePoint list, then an approval flow is triggered and next form navigate to thank you screen. The logic works fine until late last year/beginning of this year.
When I submitted the form this year, there was an error: MyFlow.Run failed: The method 'Run' has an invalid value for parameter 'Getitem_Id', refer to attachment. On my Thank you screen, I have added another button to return to the form with newform to submit another form. If I try to submit another form dispite the first error, it works with the second application.
When I test in the PowerApp preview, everything works. But in live link it fails. This only happens to those app developed last year, new app is not affected.
Here is the submit button code: OnSelect -SubmitForm(Form2);MyFlow.Run((Form2.LastSubmit.ID));Navigate(ThankYouScreen,ScreenTransition.None)
I noticed that when I have MyFlow.Run((Form2.LastSubmit.ID));Navigate(ThankYouScreen,ScreenTransition.None) - failed.
If I separate the 2 actions, it works.
Has something changed? It works previously.
The only thing I could do now is to add Timer after flow is triggered. Then after xx seconds, navigate to a different screen. I am not sure this is most efficient way of doing this, but I run out of ideas.
Does anyone has any suggestions?
Thanks