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

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

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
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,404)