
I have made a flow in P.A. Desktop which starts running Power BI every day then navigates the mouse cursor to the area of Refresh button and clicks on it in order to get an up-to-day table of report.
The main problem is that I need a trigger which is activated when the refreshing process is finished so I could send the refreshed report to an email address after this.
I was looking for the processes of the Task Manager and I noticed that during the refreshing the running processes of Microsoft.Mashup.Container.NetFX45.exe and msedgewebview2.exe are increased by one.
So I thought about a solution which stores the number of processes before and after the refreshing.
But I don't know how can I apply a trigger which is activated when the refreshing is done.