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

Create link to Planner Task

Hi,

 

I want to be able to add a link to a task within an email body. 

 

I have tried the following expression but it says it is an invalid expression inside of a compose step.

 

concat(http://tasks.office.com/mydomain.com.au/Home/Task/',triggerOutputs()?['body/id'])
 
What am I doing wrong?
1 ACCEPTED SOLUTION

Accepted Solutions
MarconettiMarco
Super User
Super User

Hello @jessicabishop47 ,

please use the following expression:

concat('https://tasks.office.com/mycompany.onmicrosoft.com/en-us/Home/Task/',triggerOutputs()?['body/id'])

Please replace "mycompany" with your value.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

BR,

Marco

View solution in original post

4 REPLIES 4
MarconettiMarco
Super User
Super User

Hello @jessicabishop47 ,

please use the following expression:

concat('https://tasks.office.com/mycompany.onmicrosoft.com/en-us/Home/Task/',triggerOutputs()?['body/id'])

Please replace "mycompany" with your value.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

BR,

Marco

jessicabishop47
Helper I
Helper I

Hi @MarconettiMarco 

 

I did that but unfortunately, it didn't work.

 

This is the error message I received

 

jessicabishop47_0-1659076122216.png

 

Hello @jessicabishop47 ,

it's working from my side. Have you already replcaced "mycompany" with your domain?

 

BR,

Marco

Hi @MarconettiMarco ,

It worked! Thank-you!

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,666)