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 Automate / Updating Task Checklis...
Power Automate
Answered

Updating Task Checklist upon completion of Flow

(0) ShareShare
ReportReport
Posted on by 7

Hi all,

 

I'm trying to get my Automate to update a checklist on my planner as complete. 

 

Planner:

 

Bucket Task A

Task A Q1: Checklist A, Checklist B, Checklist C

Task A Q2: Checklist A, Checklist B, Checklist C

 

Bucket Task B

Task B Q1: Checklist A, Checklist B, Checklist C

Task B Q2: Checklist A, Checklist B, Checklist C

 

Task A name and Quarter Name will also be available on my Power Automate as an input from a list. I want to take these input fields, match it to the planner task title for the appropriate Quarter, and mark Checklist A and Checklist B as complete. Checklist C is not to be touched.

 

I've been trying to use 'Get plan details' and 'Update task details' but failing to achieve what I need, so any advice would be great. The trigger for this will be on a list, where a 'button' will be marked as 'true'. 

 

Visual context: The fields circled will be available to planner from a SharePoint list.

 

Capture.PNG

Categories:
I have the same question (0)
  • v-yiwenxie-msft Profile Picture
    Microsoft Employee on at

    Hi @poweruser11 

     

    You will need to use ‘List buckets’ and ‘List tasks’ in top level and ‘Get task details’ in nested action.

     

    ‘List bucket’ is used to get the two buckets ‘Task A’ and ‘Task B’.

    ‘List tasks’ is used to get tasks names.

    ‘Get task details’ is used to get checklist Id for these two tasks ‘Report Q1’ and ‘Report Q2’.

     

    The whole flow is:

    2.10-1.PNG

     

    The detailed steps for ‘If yes’ in ‘Condition’:

    2.10-2.PNG

    The expression in ‘filter array’:

    @and(equals(item()?['title'], 'Report Q1'), equals(item()?['bucketId'], items('Apply_to_each')?['id']))

     

    The ‘filter array’ is used to filter out the tasks in the two buckets ‘Task A’ and ‘Task B’, and to filter out the tasks named ‘Report Q1’.

     

    The detailed steps for ‘Apply to each 3’:

    2.10-3.PNG

    2.10-4.PNG

     

    Best Regards,
    Community Support Team _ Kira Xie
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • poweruser11 Profile Picture
    7 on at

    Hello, this is great and seems like the perfect solution! However, I get a save error on this one. I have used the same expression in 'filter array' just changed the Report Name to the actual name.

     

    Flow save failed with code 'InvalidTemplate' and message 'The template validation failed: 'The inputs of template action 'Filter_array' at line '1 and column '13970' is invalid. Action 'Apply_to_each' must be a parent 'foreach' scope of action 'Filter_array' to be referenced by 'repeatItems' or 'items' functions

  • poweruser11 Profile Picture
    7 on at

    Apologies for the multiple edits - wouldn't let me post the reply fully!

  • Verified answer
    v-yiwenxie-msft Profile Picture
    Microsoft Employee on at

    Hi @poweruser11 

     

    If you use ‘items’ function, then you should put ‘filter array’ into an ’Apply to each’ action.

    The error says you didn’t put filter array into a ‘Apply to each’ action.

    For more info about items(), please go to the link: Reference guide for functions in expressions - Azure Logic Apps | Microsoft Docs

     

    Please reference the following steps:

    2.11-20.PNG

     

    If this still doesn’t work, could you please take screenshots of your detailed flow and the error details?

     

    Best Regards,
    Community Support Team _ Kira Xie
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Rushi_Chandak Profile Picture
    50 on at

    To Update the Checklist use the action "Update Task Details "

    In this task at bottom you can see :

    Rushi_Chandak_1-1649835775289.png

     

    So just Create the checklist and  Update the Checklist from here:

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard