web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Getting planner task d...
Power Apps
Answered

Getting planner task details

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Dear all,

 

another newbie question - I am afraid

 

I linked planner to my powerapps. i then created a gallery. with Planner.ListMytasks().value I can see all tasks assigned to me. so far . . . great.

Now I want to show navigate to a next page from the gallery to see the details of a selected task (From the gallery).  How can I do that? 

 

Thanks a lot for the help

 

Categories:
  • ITCareNV Profile Picture
    574 on at

    Hey there

     

    Have a look at this: https://powerusers.microsoft.com/t5/General-Discussion/powerapps-and-planner-task/td-p/47785

    Thanks to patrick_S_hexa  !

     

    Quote from him:

    On planner First dropdown list all plan you can access Planner.ListMyPlans() => (this would be your gallery)

    When you select a plan in this list second drop down display all buckets from this plan Planner.ListBuckets(Plan.Selected.id) => this would be your second screen with another gallery

    Third drop down list tasks from the selected plan Planner.ListTasks(Plan.Selected.id)

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at
    Thanks a lot, I appreciate the fast answer, and yes, I saw your posting regarding this. However, I do not want to use drop down menues. the background is a CRM APP, where people can write a visit report. so once a report is written, I would like to create tasks out of that. Once a task is created, I would like to get the ID of that task, save it and later use the ID to access the task directly and mark it as finished or even delete it. hope it makes sense apologies if I was not clear in the original posting.
  • ITCareNV Profile Picture
    574 on at

    Have you taken a look at his PowerApp example that he is sharing in provided link?

    You can change the DropDown to a Gallery Smiley Very Happy

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at
    Yes, I did. However, I do not want to select a task first, but to get the task ID straight after creating a task. I now just use a filter function to filter again all tasks against the newly title of created ones to get the task ID. Seems like a waste of computing power. So I wondered if there is no easier way to automatically obtain the task id, after I created a new task.
  • ITCareNV Profile Picture
    574 on at

    As far as I am conerned there is no pre built way to retrieve the Task Id after insertion.

     

    You could use the  MS Flow connector for planner and write this Id in a Source (SharePoint list or Sql, ...).

    You can than have a tracking of everything if constructed properly.

     

    Planner docs can be found here

     

    Let me know if everything is clear.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at
    Thanks my friend, you are right, there is no direct way to get the task ID after creating it. I am now simply list my tasks and filter it with the title of the newly created task to get the ID. Not really elegant. Any idea how to do it with flow?
  • ITCareNV Profile Picture
    574 on at

    You can use the Flow "when a task is created"  and retrieve the Id of the Task (or any available property or action)

    See below screenshot/attachment, try it out and if you are stuck somewhere let us knowCat LOL

    id.PNG
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks Dimi,

     

    I am this week away with no access to my PC. Will try it this weekend and let you know. So basically I can use a command like

    MYnewtaskID = MYFLOW (MyPLANID, MyTASKNAME), where I supply the plan I’d and the taskname?

    task you

  • ITCareNV Profile Picture
    574 on at

    Hello there, es something alon those lines, have a look at these 2 articles that elaborate more on returning data from a Flow to a PowerApp.

     

    1) https://flow.microsoft.com/en-us/blog/return-data-to-powerapps/

    2) https://sergeluca.wordpress.com/2018/04/22/powerapps-returning-values-from-flow/

     

    Good luck! If you have questions, post them here 😉

  • ITCareNV Profile Picture
    574 on at

    Hey @Anonymous  how are you doing?

    Any feedback or update on your request?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard