cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kmw1130
Post Patron
Post Patron

Add link to Planner Task in Eamil

I have a flow on a SharePoint List that creates a Planner tasks for the Assignees, I can add a link to the Planner and it works fine, but I would rather it link directly to either the Bucket or Task card.  This is my expression that works to the Planner:

 

concat('https://tasks.office.com/mycompany.onmicrosoft.com/en-us/Home/PlanViews/ZLZIBB7iwUSTPZ8kgkq0_mQDC9jI...'])

 

What would I need to do differently?

 

thank you

Kim

1 ACCEPTED SOLUTION

Accepted Solutions
LeeHarris
Solution Sage
Solution Sage

Hi @kmw1130 

You can link to a task as long as you have the task id in Flow by using the following concat expression.

 

concat('https://tasks.office.com/mycompany.onmicrosoft.com/en-us/Home/Task/',TASKIDHERE)

 

You should be able to get the Task Id after you have created it, by using the Dynamic Content list.

 

image.png

 


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Follow me on Twitter at @QG_LeeJHarris

Or on LinkedIn at in/leejharris

View solution in original post

9 REPLIES 9
LeeHarris
Solution Sage
Solution Sage

Hi @kmw1130 

You can link to a task as long as you have the task id in Flow by using the following concat expression.

 

concat('https://tasks.office.com/mycompany.onmicrosoft.com/en-us/Home/Task/',TASKIDHERE)

 

You should be able to get the Task Id after you have created it, by using the Dynamic Content list.

 

image.png

 


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Follow me on Twitter at @QG_LeeJHarris

Or on LinkedIn at in/leejharris

View solution in original post

@LeeHarris My email function is in a For Each and what I have working now is concat('https://tasks.office.com/mycompany.onmicrosoft.com/en-US/Home/Planner#/mytasks',items('Apply_to_Each...']), which is going to my tasks, but not going to the specific bucket that is in my Flow.  I would want it to be like you have with the link going to the Planner and the Task bucket, or even just to the task.

Hi @kmw1130 

Can you please post a screenshot(s) of your full Flow process so that I can better understand at which point the task is being created in relation to the email being sent?

 


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Follow me on Twitter at @QG_LeeJHarris

Or on LinkedIn at in/leejharris

workflow overview:

RATP.PNG

Get Items

GetItems.png

For Each

applytoeach.png

For Each 2, where I'm sending email

applytoeach-expanded.png

 

 

Hi @kmw1130 

You should be able to make use of the link I provided previously within your Send an Email action. You will need to set the Task Id in the concat expression to the Id of the Task from the Create a Task action.

 


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Follow me on Twitter at @QG_LeeJHarris

Or on LinkedIn at in/leejharris

@LeeHarris In between responding, I tried the link you suggested earlier and it worked!!  thanks again!!!

is it possible to have the link as a hyperlink on email? 

Rather than using concat I did it this way instead (changed en-US to en-GB to make sure the time is is dd/MM rather than MM/dd when opening)

 

Capture.PNG

 

And then to create a hyperlink within the email I used the output from Compose in the Link Target box:

 

BroganOC_1-1603725321287.png

 

srose
Advocate I
Advocate I

I was able to add the link to the planner bucket in the body of the email using the provided link options:

srose_1-1620333970079.png

 

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,456)