
I have a canvas app that has a few screens and some of those screens have a button that triggers the respective flow.
The triggering of the flows was working until a few weeks ago. I have the Run function for the flows within an IfError function. The IfError function is returning the error message, that I setup to inform when something went wrong, and the flows are not being triggered. I have made sure that the flows have a PowerApps (V2) trigger (as shown in the attachment) and have delete and readded the connections of the flows to the app. I have also made a copy of one of the flows and tried to use it instead of the original one (yes, I didn't forget to add the connection and change the button to trigger that copy of the flow) but got the same result.
Data is supposed to go from the app to the flow (I don't know if this is relevant but it might help resolving the issue), I've defined a variable in the button code this way:
Set(var_all_records,JSON(*here I have the filter that is used to query the sharepoint list which contains the information*,(JSONFormat.IncludeBinaryData & JSONFormat.IgnoreUnsupportedTypes & JSONFormat.IndentFour)));
And the variable is being used in the button this way:
IfError(Extraction_all_records.Run(var_all_records) & Notify("Operation Successful", NotificationType.Success), Notify("Operation Failed", NotificationType.Error));
The app and the flows weren't changed between the last time the button worked and the reporting of the error. So I'm thinking that perhaps the way the app(button) and flows are setup might be clashing with some update that occurred on microsoft side. Does anyone have any suggestions as to what might be the problem? If you need any further information or explanation about the app or the flows let me know.