
Announcements
I'm using Power Automate Flows to execute a desktop flow. I would like to send an email with the URL of the desktop flow run if it fails.
Using the function Workflow() I have successfully linked the desktop flow details with this URL: https://make.powerautomate.com/environments/[enviromentID]/uiflows/[desktopFlowID]
The URL That I'm aiming for is composed of the specific run:
https://make.powerautomate.com/environments/[enviromentID]/uiflows/[desktopFlowID]/runs/[runID]
And I do not know how to get the run ID of the desktop flow.
Thanks in advance,
Ok I found the way to link the specific desktop run in automate flows.
Is by using actions(). Once an action is successful (in this case our run desktop flow block) it stores in json format all the data related to that run. So here is where the desktop flow Id & desktop flow run Id can be found to ,compose the URL.
This is the final function: