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 / Convert Onenote pages ...
Power Automate
Unanswered

Convert Onenote pages to planner taks and update.

(0) ShareShare
ReportReport
Posted on by 555

Hello, 

 

I am trying to create and update planner taks for onenote created pages. I was able to achieve creating a planner task for onenote page, now i want to extend the flow and update the task if there is new things added to OneNote page, which does not work. 
Here is the flow.

Cr1t_0-1700149469289.pngCr1t_1-1700150069769.png

 

Compose: 

replace(outputs('Html_to_text')?['body'], items('Apply_to_each')?['title'], '')

Cr1t_2-1700150116478.png

Cr1t_4-1700150239256.pngCr1t_5-1700150256079.png

 

Condition: 

length(body('Filter_array'))

 

Please correct me if i doing it wrong, thank you.

 

Regards,

 

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,183 Most Valuable Professional on at

    Hi @Cr1t,

     

    I would suggest to change the condition logic. Currently the condition says, if the length of the body within the Filter Array outputs is greater than 0 you want to create a new task.

     

    So, if it finds at least one existing item in your Filter Array that length will be greater than 0 and it will go into the If Yes section and it will try and create a new task. 

     

    My suggestion would be to change the condition action to use is equal to 0 instead of is greater than 0.

     

  • Cr1t Profile Picture
    555 on at

    @Expiscornovus 

     

    Thanks for correcting me, it worked. now it creates a task if the page is new and updates tasks if there are changes made on OneNote.

     

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

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard