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

Community site session details

Session Id : LoJp1/TCIf83b208ruLUX1
Power Automate - Building Flows
Answered

Convert Onenote pages to planner taks and update.

Like (0) ShareShare
ReportReport
Posted on 16 Nov 2023 15:58:47 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,

 

I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    32,859 Most Valuable Professional on 17 Nov 2023 at 09:04:17
    Re: Convert Onenote pages to planner taks and update.

    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 17 Nov 2023 at 10:16:34
    Re: Convert Onenote pages to planner taks and update.

    @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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 666 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 382 Moderator

#3
developerAJ Profile Picture

developerAJ 254

Last 30 days Overall leaderboard
Loading complete