Forum Discussion
User to not be notified unless they are assigned an item
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
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.