I make this flow to responsing on powerapps, but I am getting nothing...
Respond to a PowerApp or flow
As I said in the Power Automate Forum can you show us the Run command on the button or whatever control in Power Apps is invoking the Flow? The Flow has to be invoked that way or there is nowhere for the Flow to respond to. For example, here's a Power App that invokes a Flow when you press a button to run a SQL stored procedure. It then returns the results and stores them as a collection.
You add the flow using the Power Automate menu on the Action tab in the Power Apps designer when you have a button highlighted. If you haven't done that step then there is no way to either invoke the flow using a Power App button or return a response. You have to add the flow to a specific Power App. That is why you are getting the error. There is no Power App for your flow to respond to. Take a look at the screenshot in my last reply
Yes, I understand I have to click on a button, but there is anothers flow on this PowerApps that "I think" there is not a button, or another way to get the response...
It doesn't have to be a button. It can be anything with an OnSelect property. But it has to be a control that can take an action and that action has to be to run the flow. Otherwise there is nothing to return the results to. You can attach more than one flow to a Power App.
I'm not sure if that will work or not. I would try first with a button to make sure you are getting the collection right. Then move it to ONStart and see if it still works.
The red underline in your code means that you have an error. What's the error message when you hover over it?
Try using the context menu in actions to remove it and then re-add it. Copy your code for that button first because when you add it the existing code will be overwriten.
Check out the News & Announcements to learn more.
Check out the new Power Platform Community Connections gallery!
Congratulations, the new Super User Season 2 for 2021 has started!
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.