Trying to find a way to email the assigned user of planner task a reminder when the task is not yet completed and the due date is approached or has passed. The logic and parameters for the majority of this are fairly straightforward, however I can't seem to find a parameter in flow for task Assignee(s). Any idea how to design this senario.
Solved! Go to Solution.
Hi @Anonymous ,
You could configure your Flow by following the methods below:
Expression:
formatDateTime(items('Apply_to_each')['dueDateTime'],'yyyy-MM-dd') is equal to addDays(utcNow(),1,'yyyy-MM-dd')
Image reference:
Please take a try.
Best Regards,
That connector needs an update, that's for sure. You're correct, it does not directly return the assigned user.
But, it does return the userid-
So, you could then create a loop going through the user profiles and comparing the userID. An extra loop in there to account for multiple assignees. Use 'Search for Users' with no search term to get your full list of users.
Thanks
dan
If you have found my post helpful, please mark thumbs up.
If this post has solved your problem, please click "Accept as Solution".
Hi @Anonymous ,
You could configure your Flow by following the methods below:
Expression:
formatDateTime(items('Apply_to_each')['dueDateTime'],'yyyy-MM-dd') is equal to addDays(utcNow(),1,'yyyy-MM-dd')
Image reference:
Please take a try.
Best Regards,
Hi v-bacao-msft,
I have used lots of time to find a solution.
Thank you for the solution and screenshort,that helps me a lot.
If you have a blog or learning resource url please share with me.
I'm a beginer and eager to learn MS Flow more.
Kind Regards,
TOR
Thank you for the explanation.
If you could share some screen short that would be more helpful.
Hi,
I am trying to do something similar, only to send an email when the start date is today as a reminder.
I tweaked the flow to have: "value start date" is equeal to "utcNow()" but I m getting always condition false.
Any ideas?
Thank you
I am getting an error message using this code. Can you help?
Unable to process template language expressions for action 'Condition' at line '1' and column '20839': 'The template language expression 'formatDateTime(items('Apply_to_each')['dueDateTime'],'yyyy-MM-dd')' cannot be evaluated because property 'dueDateTime' doesn't exist, available properties are '@odata.etag, planId, bucketId, title, orderHint, assigneePriority, percentComplete, createdDateTime, hasDescription, previewType, referenceCount, checklistItemCount, activeChecklistItemCount, id, createdBy, appliedCategories, assignments, _assignments'. Please see https://aka.ms/logicexpressions for usage details.'.