cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper V
Helper V

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

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

 

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

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!

Top Solution Authors
Users online (3,779)