@PowerPuffKK ,
What you suggested was part of the solution.
I ended up doing these steps:
- Removed flow from the app in the power automate pane.
- Added flow back to the app in the power automate pane.
- Opened the flow in the power apps / power automate editor and saved the flow.
- Cut the trigger 'FlowName'.Run(.....) from the code in my app and pasted it back to the same spot to refresh the trigger.
- It worked.
I was working between power automate online and powerapps, so something must have occurred when I saved the flow in power automate online. It gave me a warning that my flow might break, but following the steps above seemed to fix it.
Thanks for your help.