This seems like it should be very straight forward, but I can't find any resources to help with it.
I have a page in the app (canvas) showing a record in a form (FormViewScreen), this is the record selected in a gallery in a previous screen, so the item is simply "Gallery1.Selected".
I have set up a Flow (ApptoEmail) with hopes of getting the info from this screen, and doing a mail-merge-type email, the button to start this flow is on the same screen (FormViewScreen). I need to pass the GUID of the item with the button to Flow.
I should say the items are recorded in Dataverse/CDS
However, I can't figure out how to get the GUID of "Gallery1.Selected", I thought it may be as simple as something "Gallery1. Selected, ApptoEmail.Run(GUID()) or even ApptoEmail.Run(GUID(Gallery1.Selected)) but neither of these return the GUID to Flow.
I anyone able to suggest the correct way to do this?