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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (3,222)