I have a screen that contains a gallery and a filter container. When the user filters records by a specific status, the gallery shows all related items. When I click to select an item in the gallery, the selected item's details appear on the screen. I have a button on the screen that, when clicked, performs a patch to the data source and runs a PowerAutomate. I would like the selected record from the gallery to refresh when the PowerAutomate completes. Here is my challenge:
When the user filters the records for a status of "issued", they select any record returned in the gallery that has an issued status. They then click the NOTIFY button. That button has patch language that changes the status is "notified" and runs the PowerAutomate. When the PowerAutomate completes, the selected record in the gallery no longer appears because the gallery was searching for all records with an "issued" status.
I would like to re-display the record that was initially selected from the gallery, showing what it looks like after the patch/PowerAutomate.
Any suggestions?