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 / OneNote To Do tags to ...
Power Automate
Unanswered

OneNote To Do tags to create basic Planner task flow - issue with xpath

(1) ShareShare
ReportReport
Posted on by 727 Super User 2025 Season 2
Hello Chriddle,
 
Finding it impossible to add post to the existing thread on this topic. The community platform just fails.
 
Anyway, hoping you remember ...
 
It turns out that the OneNote page HTML might have too much variability in it to convert to XML for xpath to be a consistent solution for finding the page title and the To Do items on the page.
Wondering your thoughts?
 
First case using a OneNote sample page from a user ...
It seems there is something in the OneNote page HTML that is preventing the conversion to xml for the compose action with xpath to process.
See the run error message below. I searched both the action input HTML and the OneNote page itself and cannot find "=' characters that seems to be interfering.
 
InvalidTemplate
Unable to process template language expressions in action 'Compose-getTitlefromPage' inputs at line '0' and column '0': 'The template language function 'xml' parameter is not valid. The provided value cannot be converted to XML: ''=' is an unexpected token. The expected token is ';'. Line 140, position 318.'. Please see https://aka.ms/logicexpressions#xml for usage details.'.

Second case ...
It seems that compose action with xpath passes over the To Do items which have any additional formatting or bullets (other html tags) associated with them on the OneNote page.
 
Appreciate any assistance,
Chris
 
ps-I'll attach the inputs in document as the platform is preventing from adding pictures and code.
Categories:
I have the same question (2)
  • Cgangweg01 Profile Picture
    727 Super User 2025 Season 2 on at
    see post above
     
     

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard