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 / Building a flow using ...
Power Automate
Unanswered

Building a flow using an expression for date and getting this error

(1) ShareShare
ReportReport
Posted on by 2

Unable to process template language expressions for action 'Condition' at line '0' and column '0': 'The template function 'lengthbody' is not defined or not valid.'.

 

PowerWork13_0-1694138255691.png

The flow saves without errors and Flow checker has no errors, but when I run the test I get the error as pasted above. The expression I'm using is lengthbody('Select_-_7_Days_Collect_Values')

Relatively new to Power Automate so bear with me 🙂 any pointers greatly appreciated.

Categories:
I have the same question (0)
  • trice602 Profile Picture
    15,402 Super User 2025 Season 2 on at

    Hi @PowerWork13 ,

     

    This is from a different example I was using but through a conditional action in here to show you the expression for length()

     

    trice602_0-1694139385761.png

     

     

    So here, I am entering an expression length() and then selecting my dynamic content inside the brackets and it looks like this:

     

    trice602_1-1694139476381.png

     

    Then saving.  Please try. Save. Resubmit your last test run and let me know.

     

     

  • trice602 Profile Picture
    15,402 Super User 2025 Season 2 on at

    Also note:  I am not typing in anything other than length() -- the format including body is included with the dynamic content.

     

     

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