I have a PowerApp that when a button is clicked, the SharePoint list data source is patched. One of the columns patched is a status column. I also have a PowerAutomate that when the status changes to a certain designation (as a result from the patch), the flow kicks off. It creates a PDF file, using merged columns and then saves the PDF as a file attachment on the SharePoint list's selected item.
My challenge occurs in the PowerApp. What I would like to have happen is that when the flow is complete, the attachment control on the screen would refresh to show the result from the flow with the added attachment. The only way I can get the attachment control to refresh is to select another record from the gallery and then come back to the initial record. This is not ideal.
Should I have written the PowerAutomate differently and used PowerApp as the trigger, sending a variable back to the PowerApp which then triggered a refresh of the datasource?
Any ideas/examples would be greatly appreciated!