Forum Discussion
Send Success message from Power Automate to Power Bi report
Hi ,
I've integrate Power Automate into a Power BI report and the flow gets triggered completely fine and everything is successful.
But I have a requirement. Once the button to trigger the flow is clicked in Power BI report, it gets enabled again in few seconds. But my flow takes more time to run. If the flow is triggered multiple times by users then its going to kill my process.
Is there a way to disable the button until the flow run is completed or is it possible to send any notification or success message from Flow to Power BI report once the flow execution is done?
TIA
2 Replies
- lbendlin
Super User
Unfortunately that is not yet possible. You need to use a semaphore in Power Automate to prevent subsequent requests from causing harm. (When the flow starts check if the semaphore exists. If not, create it and run the flow. Remove the semaphore when the flow is done. If it already exists that means another instance is running and the new instance should exit)
The Power Automate action is blind - all it does is request a new flow run. It has no idea what happens after that. Hopefully that will change in upcoming releases.
- AnonymousNot applicable