Oct 03 2023 12:27 PM - edited Oct 03 2023 12:54 PM
Thank you so much for all help and assistance as I am unable to create a part of the solution to my issue.
Please let me know if you have any questions or concerns.
Oct 03 2023 11:40 PM
Hi @bryanfrumkin47,
I understand that you want to make sure that your users should not be notified twice within 15 minutes if an item has been assigned to them.
In that case you could create a new column "MessageSentDate" and set that to the current utcNow() whenever your Workflow has sent a message to a user.
Then query the SharePoint list for all items where the the current user is the assignee and where that date is less than the current date minus 15 minutes. If that returns an element, then do not sent an email
PMAssigned/EMail eq '@{triggerOutputs()?['body/Editor/Email']}' and MessageSentDate le datetime'@{addMinutes(utcNow(),-15)}'
length(outputs('Get_items')?['body/value'])
Best Regards,
Sven
Oct 09 2023 08:18 AM
Hello @SvenSieverding!
I was able to implement your helpful advice, but if the assignee has not been assigned an item in the last 15 minutes it will still not send an email with the current condition.
Moreover, currently no emails are sending.
I am unable to find a solution without moving toward a different solution entirely.
All help is truly appreciated.