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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Planner Task - Get all...
Power Automate
Unanswered

Planner Task - Get all unchecked checklist items from a complete task

(0) ShareShare
ReportReport
Posted on by 271

Hi all,

 

I am trying to find a way to get all checklist items from a task which has been marked as complete, and then create a new task with these unchecked items added to the checklist for this new task.

 

Is this possible?

 

I currently have these elements to my flow:

 

Gwill1983_0-1702054851821.png

 

 

The outputs from the 'get task details' section shows whether a checklist item is checked, but I do not know how to add these into a useable format to add to a new task. 

 

Any help is appreciated

 

Categories:
I have the same question (0)
  • creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at

    @Gwill1983 You are missing a few actions in your flow.

     

    I would recommend that you start off with a Manually triggered flow. Also, I like to always have a copy of a Manually triggered flow (especially when the final trigger is automated). Should my flow run into any issues down the road, or if I want to make any modifications—I can trigger the flow manually and copy over any actions from my manual flow to my automated flow. 

     

    This will save you time while building your flow as you can manually trigger it—rather than having to go into Planner and mark a task complete just to trigger it.

     

    Tip: Rename your actions to keep your flow organized. Test often so that you can troubleshoot any issues early on. 

     

    Store ID in Compose Action

    Add a Compose action. This is an optional step. However by storing the ID of a task for testing purposes, when you are ready to adjust the flow trigger you will only need to insert the ID dynamic content into the Compose action rather than needing to insert it into multiple actions. This will save you time.

     

    You can grab the Task Id from any completed task by clicking on the three dots of the task and selecting Copy link to task.

    creativeopinion_34-1703562972673.png

    The task ID appears just before the question mark in the URL. Double-click on the Id to highlight it and copy it to your clipboard.

    creativeopinion_35-1703562997913.png

    Paste it into your Compose action.

     

    creativeopinion_11-1703561836891.png

    Get Task and Task Details

    Add a Get task details action to your flow and insert the output from the Compose action above into the Task Id field.

     

    In my demo I will be using the task's original title in the new task, for that reason I need to add a Get a Task action. I've inserted the output from the Compose action above into the Task Id field.

    creativeopinion_12-1703561852848.png

    creativeopinion_13-1703561875702.png

    Get Total Number of Checklist Items

    Add a Compose action. This Compose action is optional. However, to help you to better understand what is going on in your flow—I'd recommend adding it.

     

    You'll use this Compose action to store the total number of Checklist items from your task. Insert an expression and use the length() function.

     

    creativeopinion_3-1703561547065.png

    Click on the Dynamic content tab and insert the Checklist dynamic content from the Get task details. This Compose action will output the total number of Checklist items in your task—checked and not checked.

    creativeopinion_4-1703561560223.png

     

    Get Unchecked Items

    Add a Filter Array action. In the From field, insert the Checklist dynamic content. 

     

    In the first value field insert the Checklist is Checked dynamic content. Leave the operator to is equal to

    creativeopinion_5-1703561587557.png

    If you review the output from the Get Task Details action, you will see that any checklist items that haven't been checked off have an isChecked value of false.

    creativeopinion_9-1703561703436.png

    Enter false (in lowercase) into the second value field.

    creativeopinion_36-1703563351383.png

    Just as you've done above. Add a Compose action to store the number of items from the Filter Array action. Whenever I use a Filter Array action I always use a Compose action to store the number of items returned—this helps with troubleshooting and I can confirm the number of items returned is what I'm expecting.

     

    creativeopinion_7-1703561656366.png

     

    creativeopinion_8-1703561667845.png

    Run a test. Review the output of both Compose actions. You can see in my screenshots I have a checklist count of 5 items (these are all items from my completed task) and 3 items that are unchecked.

     

    creativeopinion_10-1703561720510.png

    Format the Non-Checked Checklist Items

    You'll need to format the content of the checklist items before you can use them in an action to add to a Planner task.

     

    For that, you'll need a Select action. In the Form field, insert the body from the Filter Array action above.

     

    creativeopinion_17-1703562150925.png

    In the Map Key fields you'll need to enter one for each of the following keys (as they are displayed below):

    • id
    • title
    • isChecked

    Enter false into the value field for the isChecked key as you are only adding checklist items that weren't previously checked. This can be hardcoded into the action. 

     

    You'll need to use expressions for the id and title values. Enter this into the expression field:

    item()?['']

    Between the single quotes, you'll need to enter a dynamic content key. If you take a look at the output of the Filter Array action, the dynamic content key for id is 'id'. Enter that between the single quotes.

    creativeopinion_37-1703563661210.png

     

    creativeopinion_19-1703562231839.png

    If you take a look at the output of the Filter Array action, the dynamic content key for title is 'title'. However, it's nested inside the value dynamic content key. Enter 'value/title' between the single quotes. 

    creativeopinion_38-1703563695698.png

     

    creativeopinion_21-1703562305429.png

    Run a test. The output of the select action should look like my screenshot below. Verify the ids and the titles are correct.

    creativeopinion_22-1703562334315.png

     

    Condition Check

    Add a Condition action to your flow. Use this action to check if there are any non-checked checklist items before continuing on with your flow. If there are, run the next couple actions. If not—do nothing.

     

    Insert the output from the Compose action storing the count of Non-Checked checklist items into the first value field. Change the operator to is not equal to. Enter zero into the second value field.

    creativeopinion_39-1703564331054.png

     

    Add the next actions into the YES branch of your flow.

    Create a Task

    Add a Create a task action to your flow.

    creativeopinion_40-1703564423502.png

     

    I've inserted the Title dynamic content from the Get a task action into the title field. Insert whatever Dynamic content you'd like to insert to suit your requirements.

     

    creativeopinion_14-1703561916360.png

     

    Add Checklist Items to Task

    Add an Update task details action to your flow. In the Task Id select Enter Custom value from the dropdown.

    creativeopinion_15-1703561979281.png

    Select the Id dynamic content from the Create a Task action. You want to update the task you've just created—not the one that has triggered your flow.

    creativeopinion_28-1703562539334.png

     

    In the Checklist section, click on this icon to switch to input entire array. 

    creativeopinion_29-1703562558674.png

    Insert the output from the Select action.

    creativeopinion_30-1703562575849.png

     

    Group Your Actions (optional)

    There are quite a few actions that were added to the flow just to return the checklist items. I like to use Scope actions in my flow to group actions together so that I can quickly collapse them. This is an optional step.

    creativeopinion_25-1703562412042.png

    The Scope action can reduce the vertical space your flow takes up making it easier to navigate.

     

    creativeopinion_41-1703564445463.png

     

    Run a test. Below is a screenshot of my test task which is complete. Note the three checklist items that were not checked off.

    creativeopinion_27-1703562452593.png

    Below is what the new task looks like and you can see the three checklist items have been created.

     

    creativeopinion_31-1703562611408.png

    Adjust Your Trigger

    As I mentioned at the beginning of this post—I'd recommend keeping a copy of the manually triggered flow. Once your flow is ready to go, select Save As to create a copy of your flow.

     

    creativeopinion_32-1703562634826.png

    You can adjust the trigger of your flow to When a task is completed. Instead of having to insert the ID dynamic content from your trigger into various actions in your flow. Replace the testing ID with the ID dynamic content from your flow trigger.

    creativeopinion_33-1703562703884.png

     

    Run a test.

     

    Hope this helps!

    If I helped you solve your problem—please mark my post as a solution .
    Consider giving me a 👍 if you liked my response!

    👉 Watch my tutorials on YouTube
    👉 Tips and Tricks on TikTok

    If you are looking for a way to send multiple SharePoint List items that have been assigned to a user in an email—check out this YT Tutorial: How to Send a SINGLE EMAIL ✉️ with multiple SharePoint list items | Build THIS Power Automate Flow

    In this tutorial I cover:

     How to send multiple list items in a single email with a Power Automate Flow

     How to create a dynamic date range

     How to use the Convert Time Zone action

     How to use a Filter Query in the Get Items action

    How to count number of items in an array

     How to use the Select action to extract a users display name and email address

     How to create a unique list of email addresses

     How to use the Create HTML Table action

     How to customize the HTML Table with CSS styles

    How to use the Send an email (V2) action

    How to use the Append to String Variable action

    How to create a custom list of items for an email

    How to use the Send an email (V2) action

    How to display singular or plural text based on the number of items returned

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard