I have a recurrence that is scheduled to run once per day.
It connects to a on-premise DB with a custom query to fetch certain records (outstanding tasks)
It then sends an email for each item.
I want to have the item only send the email once, so when the recurrence runs again - the user musn't get another email.
I know I can have a state on the record to indicate that an email was sent. But there could be multiple variations of these flows that I need, so I don't want to have state field for each new flow.
Is there any way to store the state on MS Flow?
It seems that your flow is triggered by Recurrence. Do you want to send an email with the item only once but not every day when the flow is triggered?
I am afraid that you may need to add a condition in the flow so that the email could be sent based on certain status, say Pending, Sent, etc. otherwise all the items will be sent again and the user will get another email.
Besides, currently there is no way to store the state on Flow, please consider submitting a request on Flow Ideas Forum:
Hope this could be your reference.
Thank you for posting on the Flow Community Forum! It appears as though @v-yamao-msft would like some more information in order to further assist you properly with your issue. Please share any additional information that was requested in order to decrease the amount of time that it will take for you to be assisted!
Thank you for being an active member of the Flow Community!
Flow Community Manager
Thank you for posting on the Flow Community Forum! If you have already posted your idea to the Flow Community Ideas Forum or found an existing idea to upvote, then you need to post the URL to the idea’s thread as a reply to this thread. Then click "Accept as Solution" on the reply if you approve it as a solution to your issue so that other users may vote for the Flow Idea and identify the information easily within this thread.
Thank You for being an active member of the Flow Community!
Flow Community Manager
Watch Microsoft Business Applications Summit sessions on-demand.
The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!
We are excited to announce the launch of Power Virtual Agents Community. Check it out now!
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!
The top training and networking event across the globe for Microsoft Business Applications