I am creating a triggered flow that should be restricted from running more than once per day.
Our IT team sends out an email that reports on several systems' load status, and when the systems I am concerned with are all flagged [complete] my flow kicks off a number of reports in PowerBI.
However, the status email continues to circulate, and the flow is triggered on every subsequent message. This creates lots of unnecessary refreshes. I'd like to in a limiter to keep the flow from executing more than once a day. I discovered 'delay until' and wondered whether, after successfully requesting the PowerBI report refresh, I could 'delay until' midnight and prevent further executions on the current day.
Is this an effecient or appropriate solution? Is there some other way to disable a flow after execution and reenable starting midnight tomorrow morning? I suppose I could also keep a log file somewhere and try to write out a history of some kind and then refer to the log to determine if the flow has already run in a day. But I'm hoping to keep the flow more or less self-contained and not use any other files for tracking.