Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

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

 

  • v-liwei-msft Profile Picture
    on at
    Re: Power App error

    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

  • v-liwei-msft Profile Picture
    on at
    Re: Power App error

    Hi @Shahin_Akhter 

     

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

     

    Best Regards,

    Levi

  • Shahin_Akhter Profile Picture
    8 on at
    Re: Power App error

    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')).

  • Shahin_Akhter Profile Picture
    8 on at
    Re: Power App error

    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.
  • v-liwei-msft Profile Picture
    on at
    Re: Power App error

    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
    Re: Power App error

    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

  • Verified answer
    v-liwei-msft Profile Picture
    on at
    Re: Power App error

    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

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,601 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,942 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow