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

10 REPLIES 10
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

 

changoperez
New Member

Hi guys...

 

this is the current link:

 

https://tasks.office.com/laeuropea.com.mx/es-ES/Home/Planner#/plantaskboard?groupId=95c6d993-fbe6-49...

 

it works as usual with CONCAT (LINK,[taskid])

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,649)