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 / How to update excel us...
Power Automate
Unanswered

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

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

    Hi @Anonymous 

     

    Thank you for posting.

     

    According to your description, you encountered issue while creating flow to update excel based on tasks following up the video.

     

    Could you please share me the error message?

     

    During my test, I realize we need to change ''Task ID' to 'TaskID' in excel file, otherwise, we can't filter query using TaskID eq '' in 'List rows present into a table' action.

    v-duann-msft_0-1614406311798.png

     

    v-duann-msft_1-1614406425642.png

     

    Hope the content above may help you.

     

    Thanks

    Anna

  • Community Power Platform Member Profile Picture
    on at

    Hey Anna, so I did that but can you get the full flow to work and then send me the solution? I have tried for hours to get mine to work and it doesn't update anything

  • Community Power Platform Member Profile Picture
    on at

    @v-duann-msft 

  • Community Power Platform Member Profile Picture
    on at

    Or if I could get the source flow from any other microsoft employee that would be awesome

  • Community Power Platform Member Profile Picture
    on at

    Can I get help from a top user? @tom_riha , @Paulie78 , @annajhaveri @Pstork1 @Expiscornovus 

  • v-duann-msft Profile Picture
    on at

    Hi @Anonymous 

     

    Thank you for quick update.

     

    If you need an emergency support, you can go to below website to request a remote troubleshooting support.

    https://flow.microsoft.com/en-us/support/

     

    Best regards,

    Anna

  • jinivthakkar Profile Picture
    4,187 on at

    @Anonymous here is excel on one drive, before I add a new task and run:

     

    jinivthakkar_0-1614440813848.png

    New task added in Planner

    jinivthakkar_1-1614440895822.png

    Flow run successful

    jinivthakkar_2-1614441002253.png

    Excel updated with new task

    jinivthakkar_3-1614441594510.png

     

    jinivthakkar_4-1614441708420.png

     

    Flow steps in next comment.

     

     

     

     

     

  • Verified answer
    jinivthakkar Profile Picture
    4,187 on at

    @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

     

  • jinivthakkar Profile Picture
    4,187 on at

    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.

  • zepedaasal Profile Picture
    5 on at

    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?

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard