Feb 09 2022 12:02 PM
Hi everyone
I'm newby on PowerApps, so I'm playing with the Flows. I have a SharePoint list that has 4 date columns:
The requirement is to send an email notification when expiration date is coming on 30 days prior expire.
So I have set a flow as below:
CreationDate le '{formatDateTime(addDays(utcNow(),-700),'yyyy-MM-dd')}'
NewCreationDate le '{formatDateTime(addDays(utcNow(),-330),'yyyy-MM-dd')}'
The flow is working and sending the email properly, however, the issue is that it is triggering the email multiple times based on the number of records it finds, for example, in my testing I have 5 records at the list, 2 have expiration date next year, so those are fine, another 2 records that should go through NO path and 1 through YES path, so I should receive only 3 emails, but instead of, I'm receiving 9 emails as it is looping 3 times the email trigger.
Any help on this will be appreciated.