cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
--EKM
Level: Powered On

Send Reminder Flow to Person Responsible

Hi All, 

 

What I am currently trying to do is modify the already existing send reminder function, to not send me a notification of an item whose due date is upcoming, but rather the person responsible. I have tested everything and it sends me the reminder for the correct item within the specified days but I just need to change it to send it to the appropriate person responsible for that item. I am assuming something needs to be changed in the "Get my profile(V2)" step but I am not sure how to code that. Annotation 2019-07-16 093713.pngcircled the step that needs changedAnnotation 2019-07-16 094446.pngshould I put the email of the person responsible in this column or can their email be searched by providing their full name

 

Best, 

 

-Eric 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Send Reminder Flow to Person Responsible

Hi @--EKM ,

 

Please consider using following method to configure Flow instead of existing send reminder feature.

 

  • Initialize two variables, one type is array to store ResponsibleUser’s email, another one is string to store link to item.
  • Configure Apply to each to get all ResponsibleUser’s email and append then to array variable.
  • Use union() function to remove duplicate element and generate new array.
  • Iterate value of Get items action and use condition to filter current ResponsibleUser’s item, append link to item to string variable.
  • After sending an email, we need to empty the string variable.

Expression reference:

union(variables('ResponsibleUser'),variables('ResponsibleUser'))
utcNow('yyyy-MM-dd')

Image reference:

2.PNG3.PNG4.PNG

Hope it helps.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 REPLIES 2
Community Support Team
Community Support Team

Re: Send Reminder Flow to Person Responsible

Hi @--EKM ,

 

Please consider using following method to configure Flow instead of existing send reminder feature.

 

  • Initialize two variables, one type is array to store ResponsibleUser’s email, another one is string to store link to item.
  • Configure Apply to each to get all ResponsibleUser’s email and append then to array variable.
  • Use union() function to remove duplicate element and generate new array.
  • Iterate value of Get items action and use condition to filter current ResponsibleUser’s item, append link to item to string variable.
  • After sending an email, we need to empty the string variable.

Expression reference:

union(variables('ResponsibleUser'),variables('ResponsibleUser'))
utcNow('yyyy-MM-dd')

Image reference:

2.PNG3.PNG4.PNG

Hope it helps.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
--EKM
Level: Powered On

Re: Send Reminder Flow to Person Responsible

@v-bacao-msft You have been very helpful! I think I can follow what is going on! My only question is if I wanted to build in a hard coded reminder to send a reminder 60 days before the due date how would that be done? would I change :

utcNow('yyyy-MM-dd')

to look like:

addDays(utcnow(), 60, 'yyyy-MM-dd')
 
Once again, Thanks so much!
 
Best, 
 
-Eric 
 
 

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 354 members 4,280 guests
Please welcome our newest community members: