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

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
Highlighted
Super User
Super User

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
Highlighted
Super User
Super User

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

Highlighted

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

Highlighted

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

Highlighted

workflow overview:

RATP.PNG

Get Items

GetItems.png

For Each

applytoeach.png

For Each 2, where I'm sending email

applytoeach-expanded.png

 

 

Highlighted

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

Highlighted

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

Highlighted

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

Highlighted

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

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (12,740)