cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

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. circled the step that needs changedcircled the step that needs changedshould I put the email of the person responsible in this column or can their email be searched by providing their full nameshould 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
Community Support

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.

View solution in original post

2 REPLIES 2
Community Support
Community Support

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.

View solution in original post

@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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (42,236)