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 get 'Create Pla...
Power Automate
Unanswered

How to get 'Create Planner tasks from Excel spreadsheet on a recurring basis' to work?

(0) ShareShare
ReportReport
Posted on by 17

Hello! I am trying to get a list of excel tasks to be automatically created in Planner, using Flow.
I am using the 'Create Planner tasks from Excel spreadsheet on a recurring basis' template, but every time it gets to the "Apply to each" action, it gets an error. https://postimg.cc/Ty5qPtZG


I've tried so many things like changing values 
I have even tried to use the template by following this online tutorial:
https://www.youtube.com/watch?time_continue=134&v=HBZ_xOe9yAM&feature=emb_title
But I cant figure out what's wrong. Any help would be greatly appreciated. 

Thank you so much!

My full flow (couldn't fit it into one picture):
https://postimg.cc/F7JTzscw
https://postimg.cc/FdRZ49NW 
The table Im using:
https://postimg.cc/ZC3LZszS 

Categories:
I have the same question (0)
  • manuelstgomes Profile Picture
    6,625 on at

    HI @jennifer2 

     

    Let's figure this out :).

     

    I think your issue is that the "If" statement is not parsing the results correctly. Could you please try with equals 1 instead of contains 'yes'?

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    Cheers
    Manuel

  • jennifer2 Profile Picture
    17 on at

    Hi Manuel, 

     

    Thank you so much for the response! Your solution worked! I was able to run my flow. The only problem now is the tasks are not showing up on planner. I got past the error but the flow isn't actually doing what its supposed to. Would you have any idea why?

  • manuelstgomes Profile Picture
    6,625 on at

    Hi @jennifer2 

     

    Awesome. Halfway there.

     

    What's wrong now? Is the data being inserted incorrectly or not inserted at all? 

     

    Question: Is the assignee an email? If it's not I don't think Power Automate will be able to find it and assign the correct person.

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    Cheers
    Manuel

     

     

  • jennifer2 Profile Picture
    17 on at

    It seems like the data is not being inserted at all. 

    Nothing is showing up on the planner the tasks are supposed to show up on: https://postimg.cc/XGsdfgs1

    Also yes, the assignee is an email (it is my email since it is a test run).

    I'm not sure why they are not showing up, or what else I could show to explain my problem, but thank you for taking the time to help.

     

  • manuelstgomes Profile Picture
    6,625 on at

    HI @jennifer2 

     

    Are the runs successful? If so, can you open a specific run and check if all the steps are being done?

     

    Screenshot_2020-07-21_at_18_34_19.jpg

     

    Sometimes steps are skipped and the Power Automate still ends with a correct message.

     

    Almost there 🙂

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    Cheers
    Manuel

  • jennifer2 Profile Picture
    17 on at

    All of the runs seem to run successful:

    4.PNG

    Ohhh! You were right! It seems like the create a task step is being skipped. I just started using Flow last week so I had no idea it did that. 

    5.PNG6.PNG

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    Above is what is shown when I open it. It says the branching condition was not satisfied. Was there something I should have changed in my table to satisfy this?

     

    --

    Jennifer

  • manuelstgomes Profile Picture
    6,625 on at

    HI @jennifer2 

     

    I was reviewing everything and made a test Power Automate to simulate the issue. My first reply was wrong.

     

    Here's the test Excel:

    Screenshot 2020-07-22 at 09.29.10.png

     

    Here's my test Power Automate:

    Screenshot 2020-07-22 at 09.29.26.png

     

    So you need to compare it with "Yes". Sorry about that.

     

    Pro-tip. An excellent way to check what we should compare is looking at the result of the fetch results from Excel and see the type that is returned. Like this:

    Screenshot_2020-07-22_at_09_29_41.jpg

     

    Here's the result after running:

    Screenshot 2020-07-22 at 09.29.05.png

     

    Can you please try with that and see if that works. I think now we'll get everything working 😀

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    Cheers
    Manuel

  • jennifer2 Profile Picture
    17 on at

    Hi @manuelstgomes 

    I updated the flow with your suggestions about comparing it to "Yes" and it seems like the condition is still not being satisified, and the rest of the actions are not being completed, even though it seems like that's what it needs in the excel fetch results. 

     

    Here's what the flow looks like:

    flow before running.PNG

     

     

    Here's what the fetch results say:

    fetch results.PNGAnd here's what the flow looks like after running:

    flow.PNG

     

    Please let me know if you have any guidance, and thanks for your patience! 🙂 

     

    --

    Jennifer

  • manuelstgomes Profile Picture
    6,625 on at

    HI @jennifer2 

     

    Everything looks correct. Something is escaping me... 

     

    All values are set to Yes? Do you have some "No" or other values? 

     

    I see in your run log that there are 4 elements. All of them fail?

     

    Is there any possibility to attach the Excel (you can remove all data and maintain only one row with fake data). Just for me to try to simulate on my side and try to help you.

     

    Almost there!!!! 😀

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    Cheers
    Manuel

  • jennifer2 Profile Picture
    17 on at

    Hi @manuelstgomes 

     

    I'm not sure how to attach an excel file to this post (forgive me, I'm new to forums)

    Here is a picture of the table:

    Capture.PNG

     

    This is the exact data I am working with (except I've put my actual e-mail in column D). This is all fake data as I am just trying to test this out, hoping it will work so then I can use real data with it. 

    If you need the actual excel, if you let me know how to attach it, I'll be glad to!

     

    As for your question if all 4 elements of mine fail, yes they do.

    I'm assuming if they were to succeed, they would pop up under my To-Do bucket on planner, correct? As that's what I am trying to get them to do, but they do not. 😞

    emptyplanner.PNG

     --

    Jennifer

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