Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

How to update excel using planner tasks

(0) ShareShare
ReportReport
Posted on by

Hello everyone, I followed Miguel_E's video: https://www.youtube.com/watch?v=quJl0wCvNkM&t=17s&ab_channel=TecProSvc

and I can't get this flow to update.

 

My flow runs but it refuses to update and never passes into the second condition of add a row.

 

Any help would be amazingly appreciated,

 

Cairo

  • crate12 Profile Picture
    2 on at
    Re: How to update excel using planner tasks

    Hi,

     

    I tried doing this but the length formulae is causing the error. 

    Error msg:

    Unable to process template language expressions for action 'Condition' at line '0' and column '0': 'The template language function 'length' expects its parameter to be an array or a string. The provided value is of type 'Null'. Please see https://aka.ms/logicexpressions#length for usage details.'.

  • jjimenezar Profile Picture
    2 on at
    Re: How to update excel using planner tasks

    Hi, can you help me? I need that in the update to put the id or the name of the person who has completed the task, is that possible? inside the flow, not with a trigger ..Thanks

  • Jenisha Profile Picture
    2 on at
    Re: How to update excel using planner tasks

     But how do you delete a row from excel when the planner task is deleted????

  • Matthew1900 Profile Picture
    23 on at
    Re: How to update excel using planner tasks

    All set - Checklist-Level Detail for Excel Export? - Power Platform Community (microsoft.com)   Thanks. 

  • jinivthakkar Profile Picture
    4,179 on at
    Re: How to update excel using planner tasks

    @Matthew1900 please post a new question for the issue.

  • Matthew1900 Profile Picture
    23 on at
    Re: How to update excel using planner tasks

    Thank you all for the helpful explanations. Is there a way to easily modify the flow so as to bring in checklist-level detail (complete/not complete) based on item? @jinivthakkar 

     

    Thank you!

    -Matt

  • zepedaasal Profile Picture
    5 on at
    Re: How to update excel using planner tasks

    Hi @jinivthakkar, thank you for the explanation. I just have an issue when it comes to deleted tasks; when a task gets deleted from planner, would this also be reflected in Excel? If so, do you mind sharing how to do so?

  • zepedaasal Profile Picture
    5 on at
    Re: How to update excel using planner tasks

    Hi @jinivthakkar, it all worked fine for me. I just have an issue when it comes to deleted tasks; have you tried a flow to eliminate a task from the excel file if it was deleted from planner? if so, do you mind sharing how to do so?

  • jinivthakkar Profile Picture
    4,179 on at
    Re: How to update excel using planner tasks

    Logic as explained:

     

    - Get all tasks

    - Initialize variable used to set bucket name

    - Apply to each to iterate through each task - outputs('Lists_tasks')?['body/value']

    - List rows in a table - query the excel with first task ID 

    If length is 0 it means no task found and add a row in excel else update the row(updating is simple) 

     

    formulae to check length -  length(outputs('List_rows_present_in_a_table')?['body']?['value'])

     

    Now explaining only adding of new tasks in excel:

    if length is 0, now we need to add a task but before that we need to get the bucket name, so 

    - list buckets

    - apply to each to iterate through bucked id and check if it matches bucket id of the task(each task has a bucket id)

    - if it matches then set variable value with bucket name 

    - then create a new row in excel which is again simple.

     

    Hope this helps.

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

  • Verified answer
    jinivthakkar Profile Picture
    4,179 on at
    Re: How to update excel using planner tasks

    @Anonymous details :

     

    jinivthakkar_5-1614441817266.png

    jinivthakkar_6-1614441882974.png

     

    jinivthakkar_7-1614441950624.png

     

    Apply to each 2 

    jinivthakkar_8-1614442011168.png

    jinivthakkar_9-1614442041981.png

     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492