Hi,
I have created a Power Apps Component library and inside that I have called a Power Automate Flow to get some information from SharePoint.
When I test this inside the component on the screen, everything is working fine. I can see the results from Power automate.
When I add this component to a Power App after importing the component library, its failing to call the flow.
Component Library -> Screen 1 -> Component -> button -> Power automate (It is working fine)
Power App -> component -> button -> Power automate (It is not working. Power Automate is not triggering in this case)
I think, as the flow belongs to the component, I am not able to run it when I added to the other Power App.
If this is the case, what would be the approach to trigger a flow inside the component to get the details?
Please help me in understanding where I did wrong and the correct approach here. Thank you.