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 Automate
Unanswered

Power App error

(0) ShareShare
ReportReport
Posted on by 8

Have anyone faced the issue with the Dynamic Content expression "an embedded page at australia.flow.microsoft.com says The expression is invalid in power automate"?

Shahin_Akhter_0-1674012514008.png

 

Categories:
I have the same question (0)
  • Verified answer
    v-liwei-msft Profile Picture
    on at

    Hi @Shahin_Akhter 

     

    You should remove the @ before length.
    Regarding the usage of length, I think this link will help you:

    Power Automate: length Function - Manuel T. Gomes (manueltgomes.com)

     

    Best Regards,

    Levi

  • Shahin_Akhter Profile Picture
    8 on at

    Hi Levi,

     

    Thanks for the response.

    I have tried that earlier, didn't work.  This error appears whenever i try to parse the output/ body of the previous step

  • v-liwei-msft Profile Picture
    on at

    Hi @Shahin_Akhter 

     

    You should fill in the correct parameter in length.
    The purpose of the length function is to return the number of items in the array, so you should refer to an array in length.

     

    Best Regards,

    Levi

  • Shahin_Akhter Profile Picture
    8 on at

    Hi Levi,

    This is what I tried now - 

    length(outputs('Html_to_text')).
    Still the same error. Not sure if I am missing any syntax in the exprssion.
  • Shahin_Akhter Profile Picture
    8 on at

    Hi Levi,

    My issue is the error appear whatever function I use to process - outputs('Html_to_text') from previous step.

    Like even split(utputs('Html_to_text')).

  • v-liwei-msft Profile Picture
    on at

    Hi @Shahin_Akhter 

     

    Please use: length(body('Html_to_text'))

     

    Best Regards,

    Levi

  • v-liwei-msft Profile Picture
    on at

    Hi @Shahin_Akhter 

     

    The length function can also be used to check the string length, your problem is a wrong reference to Html to text.

     

    Best Regards,

    Levi

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard