cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CaoMJ
Frequent Visitor

Getting Display Name from Planner

I been trying to get the Display Name from the planner task by following this post:

https://powerusers.microsoft.com/t5/Building-Flows/Daily-planner-summary-email-Display-User-Assigned...

 

But I ran into this error - any one know why I might have that error?

 

CaoMJ_0-1601526484842.png

 

or another way to get the Display Name?

4 REPLIES 4
efialttes
Super User
Super User

Hi!

The error states that there is something wrong with the WDL expression currently assigned to 'Get user profile (v2)'. Looks like you're invoking the wrong 'apply to each'

I guess current expression in your flow is this one, right?

items('Apply to each')?['userId']

If so I would remove the whole WDL expression

and use instead...

items('Apply_to_each_2')?['userId']

 

If my assumption is wrong or problem persists please share the original expression 

Hope this makes sense



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



CaoMJ
Frequent Visitor

Ahh that make sense. Thank you @efialttes I updated it and it works now; however I ended up with something strange

CaoMJ_0-1601529419088.png

 

Task  Assigned

Task 1 Fake Name, Fake Name

Task 2

 

The Name is all on row 1 instead of going to its correct row.

 

CaoMJ_1-1601529510115.pngCaoMJ_2-1601529522093.pngCaoMJ_3-1601529567124.png

 

Am I doing something wrong?

 

 

 

Sorry, its my fault...

'apply to each 2' should be fine

Does it work now?



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Hi!

Did you finally solve the issue?

Thanx!



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



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,950)